helm/users/profiles/desktop/polybar/run.sh

8 lines
182 B
Bash
Raw Permalink Normal View History

2021-10-04 08:22:19 -07:00
#!/usr/bin/env bash
pkill -u $UID -x polybar
while pgrep -u $UID -x polybar >/dev/null; do sleep 1; done
polybar main >$XDG_DATA_HOME/polybar.log 2>&1 &
echo 'Polybar launched...'