summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfilip <“filip.rabiega@gmail.com”>2025-10-10 18:12:48 +0200
committerfilip <“filip.rabiega@gmail.com”>2025-10-10 18:12:48 +0200
commit9535dd8f8ac46335f75d42b773cf0fa9305a722d (patch)
tree1ded182e909df989dd9c5b1492815309cf3e05c9
parente22232b575e6ffe9649c90de623023dc398a6241 (diff)
downloadchadscripts-9535dd8f8ac46335f75d42b773cf0fa9305a722d.tar.gz
chadscripts-9535dd8f8ac46335f75d42b773cf0fa9305a722d.tar.bz2
chadscripts-9535dd8f8ac46335f75d42b773cf0fa9305a722d.zip
modified remaps
-rwxr-xr-xremaps8
1 files changed, 7 insertions, 1 deletions
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