Use polybar instead of xfce4-panel
[~bandali/configs] / polybar / .local / bin / launch-polybar
diff --git a/polybar/.local/bin/launch-polybar b/polybar/.local/bin/launch-polybar
new file mode 100755 (executable)
index 0000000..49d56ca
--- /dev/null
@@ -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..."