stripes/barrita

12 lines
237 B
Bash
Executable File

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