summary refs log tree commit diff stats
path: root/xmodmap/.xmodmaprc
diff options
context:
space:
mode:
authorAlan Pearce2017-07-15 15:08:47 +0200
committerAlan Pearce2017-07-15 15:08:47 +0200
commit2ab7a9bfa48fce515ebda9febf13142731e1e600 (patch)
tree5abe002566cbdeb8af9195d10d97e1079af1d890 /xmodmap/.xmodmaprc
parent1f1c107cd2469048a6f407fbe442a32f4f98e2bf (diff)
downloadnixfiles-2ab7a9bfa48fce515ebda9febf13142731e1e600.tar.lz
nixfiles-2ab7a9bfa48fce515ebda9febf13142731e1e600.tar.zst
nixfiles-2ab7a9bfa48fce515ebda9febf13142731e1e600.zip
fix location of xmodmaprc
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