9 lines
194 B
Bash
9 lines
194 B
Bash
|
#!/bin/bash
|
||
|
|
||
|
# This script is called by i3 on startup.
|
||
|
|
||
|
# maps caps lock to escape for vim (and ctrl)
|
||
|
setxkbmap -option 'caps:ctrl_modifier' && xcape -e 'Caps_Lock=Escape' &
|
||
|
|
||
|
xmodmap ~/.Xmodmap
|