Fix bar not showing on primary display
This commit is contained in:
parent
ebb0085c1c
commit
e332835186
2
bin/bar
2
bin/bar
@ -5,7 +5,7 @@ set -x
|
||||
killall polybar
|
||||
|
||||
if type "xrandr"; then
|
||||
for m in $(xrandr --query | grep " connected" |grep "primary" | cut -d" " -f1); do
|
||||
for m in $(xrandr --query | grep "connected" |grep "primary" | cut -d" " -f1); do
|
||||
MONITOR=$m polybar --reload dwm &
|
||||
done
|
||||
for m in $(xrandr --query | grep " connected" |grep -v "primary" | cut -d" " -f1); do
|
||||
|
Loading…
Reference in New Issue
Block a user