bind Caps Lock to Ctrl on hold and Esc on press

This commit is contained in:
vib 2022-05-26 08:57:34 +03:00
parent a0651c28bd
commit 96e5b387c3

View file

@ -33,3 +33,7 @@ if [ "$GDMSESSION" = "dwm" ]; then
/usr/bin/lxqt-policykit-agent &
pipewire &
fi
#bind Caps Lock to be Ctrl on hold and Esc on simple press
setxkbmap -option 'caps:ctrl_modifier'
xcape -e 'Caps_Lock=Escape'