all repos — nixfiles @ 8f00c98d5d06a0f9eed7ffa717aa9141d19b8ca7

System and user configuration, managed by nix and home-manager

xmodmap/.xmodmaprc (view raw)

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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