summary refs log tree commit diff stats
path: root/xmodmap/xmodmaprc
diff options
context:
space:
mode:
authorAlan Pearce2017-03-24 21:22:27 +0100
committerAlan Pearce2017-03-24 21:22:27 +0100
commitbbb26322199d41171595bff6d073bda1fa1fa62c (patch)
tree799f160f60327a1b026fd9f4065636e611ccafb0 /xmodmap/xmodmaprc
parent0c4343e413bbc922954b417a639c60dfa007a0da (diff)
parent53f50286e177abb9d1ac4a7c239dcbcc3fed63b7 (diff)
downloadnixfiles-bbb26322199d41171595bff6d073bda1fa1fa62c.tar.lz
nixfiles-bbb26322199d41171595bff6d073bda1fa1fa62c.tar.zst
nixfiles-bbb26322199d41171595bff6d073bda1fa1fa62c.zip
Merge remote-tracking branch 'origin/master'
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 00000000..82a8674f
--- /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