commit 3d0cc65d30b3da3b6584b00916d82a20fa37b1d8
parent 128e9aacf81a0ddbf11738879ac6ab2e90128fa2
Author: Chris Bracken <chris@bracken.jp>
Date: Tue, 17 Dec 2019 18:02:51 -0800
Make caps lock an extra control key in Sway WM
Diffstat:
1 file changed, 4 insertions(+), 0 deletions(-)
diff --git a/.config/sway/config b/.config/sway/config
@@ -65,6 +65,9 @@ output * bg /usr/share/backgrounds/sway/Sway_Wallpaper_Blue_1920x1080.png fill
#
# You can get the names of your inputs by running: swaymsg -t get_inputs
# Read `man 5 sway-input` for more information about this section.
+input * {
+ xkb_options ctrl:nocaps
+}
### Key bindings
#
@@ -91,6 +94,7 @@ output * bg /usr/share/backgrounds/sway/Sway_Wallpaper_Blue_1920x1080.png fill
# Exit sway (logs you out of your Wayland session)
bindsym $mod+Shift+e exec swaynag -t warning -m 'You pressed the exit shortcut. Do you really want to exit sway? This will end your Wayland session.' -b 'Yes, exit sway' 'swaymsg exit'
+
#
# Moving around:
#