Map caps lock to escape

This commit is contained in:
Daniel Flanagan 2017-04-14 07:49:01 -05:00
parent c4188dc328
commit 8cc5b80204
4 changed files with 8 additions and 1 deletions

View file

@ -40,7 +40,7 @@ for mon in ${BSPWM_MONITORS}; do
screens=
for j in $(seq $i $max); do
ind=${DESKTOPS[$((j - 1))]}
screens="${screens}a "
screens="${screens}${ind} "
done
bspc monitor "$mon" -d $screens
i=$((max + 1))

View file

@ -16,6 +16,10 @@ if [ -f "$HOME/.env_xinitrc" ]; then
source "$HOME/.env_xinitrc"
fi
if [ -f "$HOME/.xmodmap" ]; then
xmodmap "$HOME/.xmodmap"
fi
pulseaudio --start &
# fire up wm

2
de/xmodmap Normal file
View file

@ -0,0 +1,2 @@
remove Lock = Caps_Lock
keysym Caps_Lock = Escape

1
setup
View file

@ -36,6 +36,7 @@ links=(
"$dfp/de/xresources" "$HOME/.Xresources"
"$dfp/de/xinitrc" "$HOME/.xinitrc"
"$dfp/de/xprofile" "$HOME/.xprofile"
"$dfp/de/xmodmap" "$HOME/.xmodmap"
"$dfp/scripts/colors/xresources" "$HOME/.Xresources.colors"
# shell files