summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@lukeshu.com>2017-10-01 16:13:34 -0400
committerLuke Shumaker <lukeshu@lukeshu.com>2017-10-01 16:13:34 -0400
commitf2ee4c706bb7f97398400773d0494918abb7a962 (patch)
tree3e7fc397f2a1e96a93df9846dbb121d7829582d0
parent798eb6cac9649e429af09caee7a4e3c82b937f34 (diff)
X11: clean up modmap
-rw-r--r--.config/X11/modmap25
1 files changed, 19 insertions, 6 deletions
diff --git a/.config/X11/modmap b/.config/X11/modmap
index d97c134..5d95690 100644
--- a/.config/X11/modmap
+++ b/.config/X11/modmap
@@ -9,13 +9,26 @@
! 2: Control
! 3-7: Mod{1-5}
-! My desktop doesn't have a super key, so I map Caps_Lock to Hyper_L
+! My desktop doesn't have a super key, so I map Caps_Lock to Super_L
! Also, use Caps_Lock for the compose key
-remove lock = Caps_Lock
-keysym Caps_Lock = Hyper_L Multi_key
+keysym Caps_Lock = Super_L Multi_key
-! All of these are my "super". Silly I have so many...
+! The default modifier list is dumb. Wipe it and do something
+! sensible.
+clear shift
+clear lock
+clear control
+clear mod1
+clear mod2
+clear mod3
clear mod4
-add mod4 = Super_L Super_R Hyper_L Hyper_R
clear mod5
-add mod5 = Menu
+
+add shift = Shift_L Shift_R
+add lock = Caps_Lock
+add control = Control_L Control_R
+add mod1 = Num_Lock
+add mod2 = Alt_L Alt_R Meta_L Meta_R
+add mod3 = ISO_Level3_Shift
+add mod4 = Super_L Super_R
+add mod5 = Hyper_L Hyper_R