summary refs log tree commit diff stats
path: root/xmodmap/.xmodmaprc
diff options
context:
space:
mode:
Diffstat (limited to 'xmodmap/.xmodmaprc')
-rw-r--r--xmodmap/.xmodmaprc20
1 files changed, 20 insertions, 0 deletions
diff --git a/xmodmap/.xmodmaprc b/xmodmap/.xmodmaprc
new file mode 100644
index 0000000..82a8674
--- /dev/null
+++ b/xmodmap/.xmodmaprc
@@ -0,0 +1,20 @@
+keycode 37 = Super_L NoSymbol Super_L
+keycode 133 = Alt_L Meta_L Alt_L Meta_L
+keycode 64 = Control_L NoSymbol Control_L
+
+! Thinkpad has PrtSc next to Alt_R
+keycode 108 = Control_R NoSymbol Control_R
+keycode 107 = ISO_Level3_Shift NoSymbol ISO_Level3_Shift
+keycode 105 = Super_R NoSymbol Super_R
+! For external keyboards
+keycode 134 = ISO_Level3_Shift NoSymbol ISO_Level3_Shift
+
+clear Control
+clear Mod1
+clear Mod3
+clear Mod4
+
+add Control = Control_L Control_R
+add Mod1 = Alt_L Meta_L
+add Mod4 = Super_L Super_R Super_L Hyper_L
+add Mod5 = ISO_Level3_Shift Mode_switch
\ No newline at end of file