summaryrefslogtreecommitdiff
path: root/x11/xkeyconf
diff options
context:
space:
mode:
Diffstat (limited to 'x11/xkeyconf')
-rwxr-xr-xx11/xkeyconf15
1 files changed, 4 insertions, 11 deletions
diff --git a/x11/xkeyconf b/x11/xkeyconf
index cea356f..bc310b6 100755
--- a/x11/xkeyconf
+++ b/x11/xkeyconf
@@ -1,12 +1,5 @@
#!/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
+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