# 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 "xmodmap" > /dev/null; then xmodmap -e "clear lock" #disable caps lock switch xmodmap -e "keysym Caps_Lock = Escape" #set caps_lock as escape fi