summary refs log tree commit diff stats
path: root/host-marvin
diff options
context:
space:
mode:
authorAlan Pearce2015-04-07 22:58:52 +0100
committerAlan Pearce2015-04-07 22:58:52 +0100
commitc1f68b429dfd508b536e3115c18b58ba9065970e (patch)
treeda04e4e029b8d1de4daa1d068c411b001bd1d132 /host-marvin
parent25ee0b7becb0830e3b9273378d473a807ee1471b (diff)
downloadnixfiles-c1f68b429dfd508b536e3115c18b58ba9065970e.tar.lz
nixfiles-c1f68b429dfd508b536e3115c18b58ba9065970e.tar.zst
nixfiles-c1f68b429dfd508b536e3115c18b58ba9065970e.zip
Add xmodmaprc for Marvin the ThinkPad
Diffstat (limited to 'host-marvin')
-rw-r--r--host-marvin/xmodmaprc20
1 files changed, 20 insertions, 0 deletions
diff --git a/host-marvin/xmodmaprc b/host-marvin/xmodmaprc
new file mode 100644
index 00000000..60ae5b76
--- /dev/null
+++ b/host-marvin/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 = Super_R NoSymbol Super_R
+
+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