Update .config/polybar/colorblocks/launch.sh

This commit is contained in:
punkfairie 2024-08-04 15:26:00 -07:00
parent 57103d4f4f
commit 3e0d14aabd
Signed by: punkfairie
GPG key ID: A86AF57F837E320F

View file

@ -15,9 +15,10 @@ sleep 10
# Launch the bar
if type "xrandr"; then
for m in $(xrandr --query | grep " connected" | cut -d" " -f1); do
echo "$m" >>"$HOME/.scratch"
MONITOR=$m polybar -q main -c "$DIR"/config.ini &
done
MONITOR="DVI-D-0" polybar -q main -c "$DIR"/config.ini &
else
polybar -q main -c "$DIR"/config.ini &
fi