diff --git a/.xprofile b/.xprofile index 7f4b0b9..ab9a812 100644 --- a/.xprofile +++ b/.xprofile @@ -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'