summaryrefslogtreecommitdiff
path: root/.config/X11/modmap
diff options
context:
space:
mode:
Diffstat (limited to '.config/X11/modmap')
-rw-r--r--.config/X11/modmap21
1 files changed, 14 insertions, 7 deletions
diff --git a/.config/X11/modmap b/.config/X11/modmap
index b332204..d97c134 100644
--- a/.config/X11/modmap
+++ b/.config/X11/modmap
@@ -1,14 +1,21 @@
! -*- Mode: Xmodmap -*-
-! My desktop doesn't have a super key, so I map Caps_Lock to Super_L
+! Notes on the syntax:
+! - The RHS of keycode/keysym commands is:
+! normal [Shift [Mode_switch [Shift+Mode_switch]]]
+! - The modifiers are (non-caps sensitive):
+! 0: Shift
+! 1: Lock
+! 2: Control
+! 3-7: Mod{1-5}
+
+! My desktop doesn't have a super key, so I map Caps_Lock to Hyper_L
! Also, use Caps_Lock for the compose key
remove lock = Caps_Lock
-keysym Caps_Lock = Super_L Multi_key
+keysym Caps_Lock = Hyper_L Multi_key
! All of these are my "super". Silly I have so many...
clear mod4
-add mod4 = Super_L Super_R Hyper_L Hyper_R Menu
-
-
-! Note to future me:
-! The modifiers are: << Shift, Lock, Control, Mod{1..5} >> and are NOT case sensitive
+add mod4 = Super_L Super_R Hyper_L Hyper_R
+clear mod5
+add mod5 = Menu