summaryrefslogtreecommitdiff
path: root/.xmodmap
diff options
context:
space:
mode:
Diffstat (limited to '.xmodmap')
-rw-r--r--.xmodmap50
1 files changed, 26 insertions, 24 deletions
diff --git a/.xmodmap b/.xmodmap
index 2dc3c02..7e5dd12 100644
--- a/.xmodmap
+++ b/.xmodmap
@@ -1,29 +1,31 @@
-! Remap dead key
-keycode 94 = backslash asciicircum
+# Remap dead key
+xmodmap -e "keycode 94 = backslash asciicircum"
-! Make caps lock a modifier
-clear Lock
-keycode 66 = Control_L
-add Control = Control_L
+# Make caps lock a modifier
+xmodmap -e "clear Lock"
+xmodmap -e "keycode 66 = Control_L"
+xmodmap -e "add Control = Control_L"
-keycode 94 = Mode_switch
+xmodmap -e "keycode 94 = Mode_switch"
-!Numbers
-keycode 65 = space space 0
-keycode 43 = d D 0
-keycode 39 = o O 1
-keycode 58 = m M 1
-keycode 40 = e E 2
-keycode 59 = w W 2
-keycode 41 = u U 3
-keycode 60 = v V 3
-keycode 44 = h H 4
-keycode 45 = t T 5
-keycode 46 = n N 6
-keycode 30 = g G 7
-keycode 31 = c C 8
-keycode 32 = r R 9
+# Numbers
+xmodmap -e "keycode 65 = space space 0"
+xmodmap -e "keycode 43 = d D 0"
+xmodmap -e "keycode 39 = o O 1"
+xmodmap -e "keycode 58 = m M 1"
+xmodmap -e "keycode 40 = e E 2"
+xmodmap -e "keycode 59 = w W 2"
+xmodmap -e "keycode 41 = u U 3"
+xmodmap -e "keycode 60 = v V 3"
+xmodmap -e "keycode 44 = h H 4"
+xmodmap -e "keycode 45 = t T 5"
+xmodmap -e "keycode 46 = n N 6"
+xmodmap -e "keycode 30 = g G 7"
+xmodmap -e "keycode 31 = c C 8"
+xmodmap -e "keycode 32 = r R 9"
-! Dollars, symbols hard to reach
-keycode 47 = s S dollar
+# Dollars, symbols hard to reach
+xmodmap -e "keycode 47 = s S dollar"
+
+/home/urbain/xcape/xcape -e 'Control_L=Escape'