os/+arch/bin/bspc.sh: fix fullscreen
This commit is contained in:
parent
17d6711fe1
commit
87914b908a
|
@ -13,13 +13,7 @@ cmd=$1
|
||||||
dir=$2
|
dir=$2
|
||||||
|
|
||||||
case $cmd in
|
case $cmd in
|
||||||
m) main=$(bspc query -M -m primary)
|
m) bspc desktop -l next
|
||||||
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
|
|
||||||
;;
|
;;
|
||||||
# focus
|
# focus
|
||||||
f) if ! bspc node -f "$dir.local"; then
|
f) if ! bspc node -f "$dir.local"; then
|
||||||
|
|
Loading…
Reference in a new issue