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
|
||||
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
|
||||
|
|
Loading…
Reference in a new issue