add caps ctrl script

This commit is contained in:
ktyl 2022-08-21 18:20:09 +01:00
parent 26cc677648
commit 5183ed8c6c
2 changed files with 5 additions and 1 deletions

4
.scripts/kbd/capsctrl Executable file
View File

@ -0,0 +1,4 @@
#!/usr/bin/env sh
setxkbmap -option 'caps:ctrl_modifier'
xcape -e 'Caps_Lock=Escape'

View File

@ -10,7 +10,7 @@ xbanish &
# set keyboard layout, map caps lock to ctrl and esc # set keyboard layout, map caps lock to ctrl and esc
setxkbmap gb setxkbmap gb
sh $SCRIPTS/keeb sh $SCRIPTS/kbd/capsctrl
# keybinds # keybinds
sxhkd & sxhkd &