1. Toby Davies
  2. shared

Source

shared / .xmonad / startup.d / remap-caps

1
2
3
4
5
6
7
8
9
#!/bin/bash

xmodmap - <<EOF
remove Lock = Caps_Lock
remove Control = Control_L
keysym Caps_Lock = Control_L
add Lock = Caps_Lock
add Control = Control_L
EOF