[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
|
||||
while pgrep -u $UID -x polybar > /dev/null; do sleep 1; done
|
||||
|
||||
if type "xrandr"; then
|
||||
for m in $(xrandr --query | grep " connected" | cut -d" " -f1); do
|
||||
MONITOR=$m polybar --reload main &
|
||||
done
|
||||
else
|
||||
polybar --reload main &
|
||||
fi
|
||||
# if type "xrandr"; then
|
||||
# for m in $(xrandr --query | grep " connected" | cut -d" " -f1); do
|
||||
# MONITOR=$m polybar --reload main &
|
||||
# done
|
||||
# else
|
||||
polybar --reload main &
|
||||
# fi
|
||||
|
|
Loading…
Reference in a new issue