Map caps lock to escape
This commit is contained in:
parent
c4188dc328
commit
8cc5b80204
|
@ -40,7 +40,7 @@ for mon in ${BSPWM_MONITORS}; do
|
||||||
screens=
|
screens=
|
||||||
for j in $(seq $i $max); do
|
for j in $(seq $i $max); do
|
||||||
ind=${DESKTOPS[$((j - 1))]}
|
ind=${DESKTOPS[$((j - 1))]}
|
||||||
screens="${screens}a "
|
screens="${screens}${ind} "
|
||||||
done
|
done
|
||||||
bspc monitor "$mon" -d $screens
|
bspc monitor "$mon" -d $screens
|
||||||
i=$((max + 1))
|
i=$((max + 1))
|
||||||
|
|
|
@ -16,6 +16,10 @@ if [ -f "$HOME/.env_xinitrc" ]; then
|
||||||
source "$HOME/.env_xinitrc"
|
source "$HOME/.env_xinitrc"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ -f "$HOME/.xmodmap" ]; then
|
||||||
|
xmodmap "$HOME/.xmodmap"
|
||||||
|
fi
|
||||||
|
|
||||||
pulseaudio --start &
|
pulseaudio --start &
|
||||||
|
|
||||||
# fire up wm
|
# fire up wm
|
||||||
|
|
2
de/xmodmap
Normal file
2
de/xmodmap
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
remove Lock = Caps_Lock
|
||||||
|
keysym Caps_Lock = Escape
|
1
setup
1
setup
|
@ -36,6 +36,7 @@ links=(
|
||||||
"$dfp/de/xresources" "$HOME/.Xresources"
|
"$dfp/de/xresources" "$HOME/.Xresources"
|
||||||
"$dfp/de/xinitrc" "$HOME/.xinitrc"
|
"$dfp/de/xinitrc" "$HOME/.xinitrc"
|
||||||
"$dfp/de/xprofile" "$HOME/.xprofile"
|
"$dfp/de/xprofile" "$HOME/.xprofile"
|
||||||
|
"$dfp/de/xmodmap" "$HOME/.xmodmap"
|
||||||
"$dfp/scripts/colors/xresources" "$HOME/.Xresources.colors"
|
"$dfp/scripts/colors/xresources" "$HOME/.Xresources.colors"
|
||||||
|
|
||||||
# shell files
|
# shell files
|
||||||
|
|
Reference in a new issue