summaryrefslogtreecommitdiffstats
path: root/.scripts
diff options
context:
space:
mode:
authorLuke Smith <luke@lukesmith.xyz>2018-03-11 16:16:41 -0700
committerLuke Smith <luke@lukesmith.xyz>2018-03-11 16:16:41 -0700
commitb09bc09b1c8fdf0d25eb3e60b863144741bb0e81 (patch)
tree9f985c09e9fd307570fd1dd633d2ee550d8a9558 /.scripts
parentf4393fb58ea80f97bce6dd7a6fe79b65d6eafc79 (diff)
downloadeibhear-b09bc09b1c8fdf0d25eb3e60b863144741bb0e81.tar.gz
eibhear-b09bc09b1c8fdf0d25eb3e60b863144741bb0e81.tar.zst
eibhear-b09bc09b1c8fdf0d25eb3e60b863144741bb0e81.zip
readme changes, escape double mapping added
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