12 lines
231 B
Plaintext
12 lines
231 B
Plaintext
|
#!/bin/sh
|
||
|
|
||
|
if [ -z "$(pgrep -x polybar)" ]; then
|
||
|
BAR="LaBarra"
|
||
|
for m in $(polybar --list-monitors | cut -d":" -f1); do
|
||
|
MONITOR=$m polybar --reload $BAR &
|
||
|
sleep 1
|
||
|
done
|
||
|
else
|
||
|
polybar-msg cmd restart
|
||
|
fi
|