You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
408 B
Bash
16 lines
408 B
Bash
3 years ago
|
#!/usr/bin/env bash
|
||
|
|
||
|
killall -q polybar
|
||
|
|
||
|
while pgrep -u $UID -x polybar >/dev/null; do sleep 1; done
|
||
|
|
||
|
echo "---" | tee -a /tmp/polybar.log
|
||
|
|
||
|
for m in $(polybar --list-monitors | cut -d":" -f1); do
|
||
|
MONITOR=$m polybar example -c ~/.config/polybar/gloom-onedark.ini >>/tmp/polybarl.log 2>&1 &
|
||
|
#polybar right >>/tmp/polybarr.log 2>&1 &
|
||
|
#polybar stray >>/tmp/polybars.log 2>&1 &
|
||
|
done
|
||
|
|
||
|
echo "Bar launched..."
|