summaryrefslogtreecommitdiffstats
path: root/polybar/.local/bin
diff options
context:
space:
mode:
authorAmin Bandali <amin@aminb.org>2017-04-27 17:26:38 -0400
committerAmin Bandali <amin@aminb.org>2017-04-27 17:26:38 -0400
commite6566456c87f40401d6aca731d1285b131134bbb (patch)
tree86ecac07b08e2dbe76943f37f1664d69cdc03594 /polybar/.local/bin
parent7fc45fb1d385fb6d5ad4e4e160c45e5be3efeb00 (diff)
downloadconfigs-e6566456c87f40401d6aca731d1285b131134bbb.tar.gz
configs-e6566456c87f40401d6aca731d1285b131134bbb.tar.xz
configs-e6566456c87f40401d6aca731d1285b131134bbb.zip
Use polybar instead of xfce4-panel
Diffstat (limited to 'polybar/.local/bin')
-rwxr-xr-xpolybar/.local/bin/launch-polybar12
1 files changed, 12 insertions, 0 deletions
diff --git a/polybar/.local/bin/launch-polybar b/polybar/.local/bin/launch-polybar
new file mode 100755
index 0000000..49d56ca
--- /dev/null
+++ b/polybar/.local/bin/launch-polybar
@@ -0,0 +1,12 @@
+#!/usr/bin/env sh
+
+# Terminate already running bar instances
+killall -q polybar
+
+# Wait until the processes have been shut down
+while pgrep -x polybar >/dev/null; do sleep 1; done
+
+# Launch main bar
+polybar example &
+
+echo "Bars launched..."