Update .config/polybar/colorblocks/launch.sh

This commit is contained in:
punkfairie 2024-10-01 19:31:05 -07:00
parent cf917a845b
commit 69a1728194
Signed by: punkfairie
GPG key ID: A86AF57F837E320F

View file

@ -11,10 +11,4 @@ killall -q polybar
while pgrep -u $UID -x polybar >/dev/null; do sleep 1; done
# Launch the bar
if type "xrandr"; then
for m in $(xrandr --query | grep " connected" | cut -d" " -f1); do
MONITOR=$m polybar -q main -c "$DIR"/config.ini &
done
else
polybar -q main -c "$DIR"/config.ini &
fi
polybar -q main -c "$DIR"/config.ini &