Update .config/polybar/colorblocks/launch.sh
This commit is contained in:
parent
57103d4f4f
commit
3e0d14aabd
1 changed files with 2 additions and 1 deletions
|
@ -15,9 +15,10 @@ sleep 10
|
||||||
# Launch the bar
|
# Launch the bar
|
||||||
if type "xrandr"; then
|
if type "xrandr"; then
|
||||||
for m in $(xrandr --query | grep " connected" | cut -d" " -f1); do
|
for m in $(xrandr --query | grep " connected" | cut -d" " -f1); do
|
||||||
echo "$m" >>"$HOME/.scratch"
|
|
||||||
MONITOR=$m polybar -q main -c "$DIR"/config.ini &
|
MONITOR=$m polybar -q main -c "$DIR"/config.ini &
|
||||||
done
|
done
|
||||||
|
|
||||||
|
MONITOR="DVI-D-0" polybar -q main -c "$DIR"/config.ini &
|
||||||
else
|
else
|
||||||
polybar -q main -c "$DIR"/config.ini &
|
polybar -q main -c "$DIR"/config.ini &
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue