helm/base/arch-desktop/config/polybar/run.sh
2017-12-13 18:28:21 -05:00

12 lines
239 B
Bash
Executable file

#!/usr/bin/env zsh
killall -q polybar
while _is_running polybar; do sleep 1; done
source "${0:A:h}/../../bin/inject-xcolors"
pushd ~ >/dev/null
polybar main >>$XDG_DATA_HOME/polybar.log 2>&1 &
popd >/dev/null
echo "Polybar launched..."