From 9535dd8f8ac46335f75d42b773cf0fa9305a722d Mon Sep 17 00:00:00 2001 From: filip <“filip.rabiega@gmail.com”> Date: Fri, 10 Oct 2025 18:12:48 +0200 Subject: modified remaps --- remaps | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/remaps b/remaps index 282f1b8..0363051 100755 --- a/remaps +++ b/remaps @@ -1,7 +1,13 @@ #!/bin/sh # Increase key speed -xset r rate 200 50 +xset r rate 150 50 # Switch caps and esc setxkbmap us -option caps:swapescape + +# When caps lock is pressed only once, treat it as escape +killall xcape 2>/dev/null ; xcape -e 'Super_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 -- cgit v1.2.3