summaryrefslogtreecommitdiff
path: root/.local/bin/keys
diff options
context:
space:
mode:
Diffstat (limited to '.local/bin/keys')
-rwxr-xr-x.local/bin/keys9
1 files changed, 9 insertions, 0 deletions
diff --git a/.local/bin/keys b/.local/bin/keys
new file mode 100755
index 0000000..9d86b51
--- /dev/null
+++ b/.local/bin/keys
@@ -0,0 +1,9 @@
+#!/bin/sh
+#Increase key speed
+xset r rate 300 50
+#Map caps lock to super
+setxkbmap -option caps:super -variant altgr-intl
+#Make caps escape when pressed once
+killall xcape 2>/dev/null ; xcape -e 'Super_L=Escape'
+#Map the menu button next to RSuper to super
+xmodmap -e 'keycode 135 = Super_R'