Source

dotfiles / Xmodmap

Full commit
!
! Swap Caps_Lock and Control_L
!
! remove Lock = Caps_Lock
remove Control = Control_L
! keysym Control_L = Caps_Lock
keysym Caps_Lock = Control_L
! add Lock = Caps_Lock
add Control = Control_L

clear Mod1
clear Mod2
keycode 63 = Mode_switch
keycode 66 = Meta_L
add Mod1 = Meta_L
add Mod2 = Mode_switch