|
|
@ -2,7 +2,6 @@ |
|
|
|
# given setup. Just wrap them with the appropriate checks. |
|
|
|
# given setup. Just wrap them with the appropriate checks. |
|
|
|
|
|
|
|
|
|
|
|
# Bind caps lock to escape if `xmodmap` exists |
|
|
|
# Bind caps lock to escape if `xmodmap` exists |
|
|
|
if type "xmodmap" > /dev/null; then |
|
|
|
if type "setxkbmap" > /dev/null; then |
|
|
|
xmodmap -e "clear lock" #disable caps lock switch |
|
|
|
setxkbmap -option caps:escape |
|
|
|
xmodmap -e "keysym Caps_Lock = Escape" #set caps_lock as escape |
|
|
|
|
|
|
|
fi |
|
|
|
fi |
|
|
|