bind Caps Lock to Ctrl on hold and Esc on press
This commit is contained in:
parent
a0651c28bd
commit
96e5b387c3
1 changed files with 4 additions and 0 deletions
|
@ -33,3 +33,7 @@ if [ "$GDMSESSION" = "dwm" ]; then
|
||||||
/usr/bin/lxqt-policykit-agent &
|
/usr/bin/lxqt-policykit-agent &
|
||||||
pipewire &
|
pipewire &
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
#bind Caps Lock to be Ctrl on hold and Esc on simple press
|
||||||
|
setxkbmap -option 'caps:ctrl_modifier'
|
||||||
|
xcape -e 'Caps_Lock=Escape'
|
||||||
|
|
Loading…
Reference in a new issue