summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Vink <ivi@vinkies.net>2025-02-11 15:58:06 +0100
committerMike Vink <ivi@vinkies.net>2025-02-15 21:23:59 +0100
commit8e7a3090d41f64f9a6c7f9789e4bbbbbbd57afc9 (patch)
tree0b720867d3fded4ffe0093dddeac181177f946aa
parentf6c4f7ecaf15e61b39a974f3b45dc10d95dbce79 (diff)
fix remap
-rwxr-xr-x.local/bin/remaps2
1 files changed, 1 insertions, 1 deletions
diff --git a/.local/bin/remaps b/.local/bin/remaps
index 12f34d0..ca5f0c5 100755
--- a/.local/bin/remaps
+++ b/.local/bin/remaps
@@ -6,6 +6,6 @@ xset r rate 300 50
# Map the caps lock key to super, and map the menu key to right super.
setxkbmap -option ctrl:swapcaps,altwin:menu_win
# When caps lock is pressed only once, treat it as escape.
-killall xcape 2>/dev/null ; xcape -e 'Super_L=Escape'
+killall xcape 2>/dev/null ; xcape -e 'Control_L=Escape'
# Turn off caps lock if on since there is no longer a key for it.
xset -q | grep -q "Caps Lock:\s*on" && xdotool key Caps_Lock