summary refs log tree commit diff stats
path: root/xmodmap
diff options
context:
space:
mode:
authorAlan Pearce2017-03-17 10:01:23 +0100
committerAlan Pearce2017-03-17 10:01:23 +0100
commit9fee193c12d92ab503f1ba334345f7e56c10f217 (patch)
treed6e1256f572f32848cd0ad0ac1bfa936069e38b6 /xmodmap
parent397ce671bb028802d528faf8811101e08557e527 (diff)
downloaddotfiles-9fee193c12d92ab503f1ba334345f7e56c10f217.tar.lz
dotfiles-9fee193c12d92ab503f1ba334345f7e56c10f217.tar.zst
dotfiles-9fee193c12d92ab503f1ba334345f7e56c10f217.zip
Merge host-specific configuration to tags
Diffstat (limited to 'xmodmap')
-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