# In here you can define various keybinds for any # given setup. Just wrap them with the appropriate checks. # Bind caps lock to escape if `xmodmap` exists if type "setxkbmap" > /dev/null; then setxkbmap -option caps:escape fi