dotfiles/i3/.config/i3/scripts/remaps.sh

9 lines
194 B
Bash
Executable File

#!/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