diff options
author | Timmy Keller <tjk@tjkeller.xyz> | 2022-03-16 23:37:09 -0500 |
---|---|---|
committer | Timmy Keller <tjk@tjkeller.xyz> | 2022-03-16 23:37:09 -0500 |
commit | 3d3d79a57fb6d0a5728e0070475f05d1699f0818 (patch) | |
tree | b141cba678d6bb9821bb33b0dd7c7f1ca31b2c6a /x11/xkeyconf | |
parent | d51fa1bdda79b8589ddf0002fc4b54aac6ce8354 (diff) | |
download | scripts-3d3d79a57fb6d0a5728e0070475f05d1699f0818.tar.xz scripts-3d3d79a57fb6d0a5728e0070475f05d1699f0818.zip |
move a lot of scripts around and make a bunch of minor changes. once again i am too lazy to document the changes properly since im never going to read these commit messages anyways
Diffstat (limited to 'x11/xkeyconf')
-rwxr-xr-x | x11/xkeyconf | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/x11/xkeyconf b/x11/xkeyconf new file mode 100755 index 0000000..cea356f --- /dev/null +++ b/x11/xkeyconf @@ -0,0 +1,12 @@ +#!/bin/sh +# Faster repeated keys and less delay before repeating +xset r rate 250 50 & + +# Remap caps to super when held +setxkbmap -option caps:super + +# Remap caps to escape when pressed +killall xcape 2>/dev/null ; xcape -e 'Super_L=Escape' + +# Turn off caps lock, just in case it was on prior +xset -q | grep "Caps Lock:\s*on" && xdotool key Caps_Lock |