diff options
author | filip <“filip.rabiega@gmail.com”> | 2025-10-10 18:12:48 +0200 |
---|---|---|
committer | filip <“filip.rabiega@gmail.com”> | 2025-10-10 18:12:48 +0200 |
commit | 9535dd8f8ac46335f75d42b773cf0fa9305a722d (patch) | |
tree | 1ded182e909df989dd9c5b1492815309cf3e05c9 | |
parent | e22232b575e6ffe9649c90de623023dc398a6241 (diff) | |
download | chadscripts-9535dd8f8ac46335f75d42b773cf0fa9305a722d.tar.gz chadscripts-9535dd8f8ac46335f75d42b773cf0fa9305a722d.tar.bz2 chadscripts-9535dd8f8ac46335f75d42b773cf0fa9305a722d.zip |
modified remaps
-rwxr-xr-x | remaps | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -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 |