Update .config/polybar/colorblocks/launch.sh
This commit is contained in:
parent
8dd53934c3
commit
4c9bde56cc
1 changed files with 7 additions and 1 deletions
|
@ -11,4 +11,10 @@ killall -q polybar
|
||||||
while pgrep -u $UID -x polybar >/dev/null; do sleep 1; done
|
while pgrep -u $UID -x polybar >/dev/null; do sleep 1; done
|
||||||
|
|
||||||
# Launch the bar
|
# Launch the bar
|
||||||
polybar -q main -c "$DIR"/config.ini &
|
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
|
||||||
|
|
Loading…
Reference in a new issue