From 12227e5e0cd6d7fa8a04a46e12aed11931c3be51 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Sat, 29 Apr 2017 14:37:39 -0400 Subject: [PATCH] os/+arch (polybar): add run.sh --- os/+arch/.config/polybar/run.sh | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100755 os/+arch/.config/polybar/run.sh diff --git a/os/+arch/.config/polybar/run.sh b/os/+arch/.config/polybar/run.sh new file mode 100755 index 00000000..9d1be12e --- /dev/null +++ b/os/+arch/.config/polybar/run.sh @@ -0,0 +1,6 @@ +#!/usr/bin/env bash + +killall -q polybar +while pgrep -x polybar >/dev/null; do sleep 1; done + +polybar main >~/.config/polybar/polybar.log 2>&1 &