Map caps lock to escape
This commit is contained in:
parent
c4188dc328
commit
8cc5b80204
4 changed files with 8 additions and 1 deletions
|
@ -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))
|
||||
|
|
|
@ -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
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/xinitrc" "$HOME/.xinitrc"
|
||||
"$dfp/de/xprofile" "$HOME/.xprofile"
|
||||
"$dfp/de/xmodmap" "$HOME/.xmodmap"
|
||||
"$dfp/scripts/colors/xresources" "$HOME/.Xresources.colors"
|
||||
|
||||
# shell files
|
||||
|
|
Reference in a new issue