From e6566456c87f40401d6aca731d1285b131134bbb Mon Sep 17 00:00:00 2001 From: Amin Bandali Date: Thu, 27 Apr 2017 17:26:38 -0400 Subject: Use polybar instead of xfce4-panel --- polybar/.local/bin/launch-polybar | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100755 polybar/.local/bin/launch-polybar (limited to 'polybar/.local/bin') 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..." -- cgit v1.2.3-60-g2f50