Feat: mouse bindings and use alacritty with sway

This commit is contained in:
Bertrand Benjamin 2022-01-25 09:25:56 +01:00
parent f7056eca23
commit d8519974f5
2 changed files with 18 additions and 2 deletions

View File

@ -45,7 +45,7 @@ font:
style: Bold Italic
# Point size
size: 11.0
size: 12.0
offset:
x: 0
@ -82,6 +82,22 @@ selection:
live_config_reload: true
cursor:
# Cursor style
#
# Values for 'style':
# - ▇ Block
# - _ Underline
# - | Beam
style: Block
# If this is `true`, the cursor will be rendered as a hollow box when the
# window is not focused.
unfocused_hollow: true
mouse_bindings:
- { mouse: Middle, action: PasteSelection }
key_bindings:
- { key: V, mods: Control|Shift, action: Paste }
- { key: C, mods: Control|Shift, action: Copy }

View File

@ -14,7 +14,7 @@ set $down j
set $up k
set $right l
# Your preferred terminal emulator
set $term urxvt
set $term alacritty
# Your preferred application launcher
# Note: pass the final command to swaymsg so that the resulting window can be opened
# on the original workspace that the command was run on.