diff options
Diffstat (limited to '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 |