From 96e5b387c3f950b5183aeaa70d2c8e4ebc6c9b6b Mon Sep 17 00:00:00 2001 From: vib Date: Thu, 26 May 2022 08:57:34 +0300 Subject: [PATCH] bind Caps Lock to Ctrl on hold and Esc on press --- .xprofile | 4 ++++ 1 file changed, 4 insertions(+) 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'