[hlwm] Disable trying to display polybar on every screen
This commit is contained in:
parent
f78f4737d0
commit
7ea9f7f08b
1 changed files with 7 additions and 7 deletions
|
@ -7,10 +7,10 @@
|
||||||
killall -q polybar
|
killall -q polybar
|
||||||
while pgrep -u $UID -x polybar > /dev/null; do sleep 1; done
|
while pgrep -u $UID -x polybar > /dev/null; do sleep 1; done
|
||||||
|
|
||||||
if type "xrandr"; then
|
# if type "xrandr"; then
|
||||||
for m in $(xrandr --query | grep " connected" | cut -d" " -f1); do
|
# for m in $(xrandr --query | grep " connected" | cut -d" " -f1); do
|
||||||
MONITOR=$m polybar --reload main &
|
# MONITOR=$m polybar --reload main &
|
||||||
done
|
# done
|
||||||
else
|
# else
|
||||||
polybar --reload main &
|
polybar --reload main &
|
||||||
fi
|
# fi
|
||||||
|
|
Loading…
Reference in a new issue