helm/modules/themes/alucard/config/polybar/run.sh
2020-10-26 14:05:10 -04:00

8 lines
182 B
Bash

#!/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...'