bind Caps Lock to Ctrl on hold and Esc on press

This commit is contained in:
Cheri 2022-05-26 08:57:34 +03:00 committed by vib
parent 3b3ff96ec9
commit 6193f8d752

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'