adjust caps_lock tweak

This commit is contained in:
Morgan McMillian 2022-02-03 18:35:15 -08:00
parent 79277fbd2a
commit 5ff5b5b9d8
2 changed files with 4 additions and 2 deletions

View file

@ -10,7 +10,8 @@ bindsym --locked $mod+Mod1+F8 output $laptop disable
# You can get the names of your inputs by running: swaymsg -t get_inputs # 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. # Read `man 5 sway-input` for more information about this section.
input type:keyboard { input type:keyboard {
xkb_options ctrl:swapcaps # xkb_options ctrl:swapcaps
xkb_options caps:ctrl_modifier
} }
exec_always ~/bin/laptop-disp.sh exec_always ~/bin/laptop-disp.sh

View file

@ -15,7 +15,8 @@ bindsym --locked $mod+Mod1+F8 output $laptop disable
input type:keyboard { input type:keyboard {
xkb_layout us xkb_layout us
xkb_variant altgr-intl xkb_variant altgr-intl
xkb_options ctrl:swapcaps # xkb_options ctrl:swapcaps
xkb_options caps:ctrl_modifier
} }
exec_always ~/bin/laptop-disp.sh exec_always ~/bin/laptop-disp.sh