Use first screen for polybar
parent
f5ca30ba7c
commit
7586f3c64e
|
@ -7,7 +7,7 @@ if type "xrandr"; then
|
|||
monitors=$(xrandr --query | grep " connected" | cut -d" " -f1)
|
||||
monarray=($monitors)
|
||||
for name in ${names[@]}; do
|
||||
MONITOR=${monarray[1]} polybar -q --reload ${name} &
|
||||
MONITOR=${monarray[0]} polybar -q --reload ${name} &
|
||||
done
|
||||
else
|
||||
polybar --reload ${name} &
|
||||
|
|
Loading…
Reference in New Issue