diff options
| author | Tim Keller <tjk@tjkeller.xyz> | 2025-09-12 22:18:45 -0500 |
|---|---|---|
| committer | Tim Keller <tjk@tjkeller.xyz> | 2025-09-12 22:19:20 -0500 |
| commit | 3d33f2b691195fcb002ea9f052d1827b65e3f183 (patch) | |
| tree | 47b19a9ef35d3386e79224cef685c7a21f66a652 /x11/xkeyconf | |
| parent | a03830a441e6c902ef69f835d0c97bf828d73365 (diff) | |
| download | dotconfig-3d33f2b691195fcb002ea9f052d1827b65e3f183.tar.xz dotconfig-3d33f2b691195fcb002ea9f052d1827b65e3f183.zip | |
add xkeyconf script here instead of scripts repo
Diffstat (limited to 'x11/xkeyconf')
| -rwxr-xr-x | x11/xkeyconf | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/x11/xkeyconf b/x11/xkeyconf new file mode 100755 index 0000000..0eaf809 --- /dev/null +++ b/x11/xkeyconf @@ -0,0 +1,5 @@ +#!/bin/sh +xset r rate 250 50 # Faster repeated keys and less delay before repeating +setxkbmap -option caps:super # Remap caps to super when held +killall xcape 2>/dev/null ; xcape -e 'Super_L=Escape' # Remap caps to escape when pressed +xset -q | grep "Caps Lock:\s*on" && xdotool key Caps_Lock # Turn off caps lock, just in case it was on prior |
