aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xkeymap.sh6
1 files changed, 5 insertions, 1 deletions
diff --git a/keymap.sh b/keymap.sh
index f5e6820..7172b8f 100755
--- a/keymap.sh
+++ b/keymap.sh
@@ -1,7 +1,11 @@
#!/usr/bin/sh
-xcape -e 'Control_L=Escape'
+#xcape -e 'Caps_Lock=Escape'
+setxkbmap -option 'caps:ctrl_modifier'
+xcape -e 'Caps_Lock=Escape' -t 100
xcape -e 'Shift_L=Shift_L|bracketleft'
xcape -e 'Shift_R=Shift_R|bracketright'
xcape -e 'Alt_L=parenleft'
xcape -e 'Alt_R=parenright'
+xcape -e 'Control_L=bracketleft'
+xcape -e 'Control_R=bracketright'