Fix bar not showing on primary display

This commit is contained in:
Przemek Grondek 2023-11-14 18:39:25 +01:00
parent ebb0085c1c
commit e332835186

View File

@ -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