helm/users/profiles/desktop/run.sh

7 lines
156 B
Bash
Raw Normal View History

2022-09-18 15:13:50 -07:00
#!/usr/bin/env bash
pkill -u $UID -x polybar
while pgrep -u $UID -x polybar >/dev/null; do sleep 1; done
polybar mybar >$XDG_DATA_HOME/polybar.log 2>&1 &