os/+arch/bin/bspc.sh: fix fullscreen

This commit is contained in:
Henrik Lissner 2017-05-07 16:48:57 +02:00
parent 17d6711fe1
commit 87914b908a

View file

@ -13,13 +13,7 @@ cmd=$1
dir=$2
case $cmd in
m) main=$(bspc query -M -m primary)
mon=$(bspc query -M -m focused)
if [[ $main == $mon ]]; then
xdotool search --onlyvisible --classname lemonbar windowunmap || \
xdotool search --classname lemonbar windowmap
fi
bspc desktop -l next
m) bspc desktop -l next
;;
# focus
f) if ! bspc node -f "$dir.local"; then