summaryrefslogtreecommitdiffstats
path: root/.scripts
diff options
context:
space:
mode:
Diffstat (limited to '.scripts')
-rw-r--r--.scripts/remaps11
1 files changed, 10 insertions, 1 deletions
diff --git a/.scripts/remaps b/.scripts/remaps
index aa5a5f2..1bfc86a 100644
--- a/.scripts/remaps
+++ b/.scripts/remaps
@@ -1 +1,10 @@
-keycode 135 = Super_R NoSymbol Super_R
+#!/bin/bash
+
+# Map the caps lock key to super...
+setxkbmap -layout us -variant altgr-intl -option caps:super
+# But when it is pressed only once, treat it as escape.
+xcape -e 'Super_L=Escape'
+
+# Map the menu button to right super as well.
+xmodmap -e 'keycode 135 = Super_R'
+#keycode 135 = Super_R NoSymbol Super_R