aboutsummaryrefslogtreecommitdiff
path: root/.config/i3/polybar.sh
diff options
context:
space:
mode:
Diffstat (limited to '.config/i3/polybar.sh')
-rwxr-xr-x.config/i3/polybar.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/.config/i3/polybar.sh b/.config/i3/polybar.sh
new file mode 100755
index 0000000..e168151
--- /dev/null
+++ b/.config/i3/polybar.sh
@@ -0,0 +1,4 @@
+#!/bin/sh
+killall -q polybar
+while pgrep -x polybar >/dev/null; do sleep 1; done
+polybar my_bar &