From e0dcd28c0d4e24351e54ec34d7a25fe233ba6b68 Mon Sep 17 00:00:00 2001 From: Amin Bandali Date: Thu, 27 Apr 2017 17:36:37 -0400 Subject: Add mail module for polybar (uses notmuch) also depends: pacaur -S ttf-font-awesome --- polybar/.local/bin/polybar-launch | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100755 polybar/.local/bin/polybar-launch (limited to 'polybar/.local/bin/polybar-launch') diff --git a/polybar/.local/bin/polybar-launch b/polybar/.local/bin/polybar-launch new file mode 100755 index 0000000..4fcd323 --- /dev/null +++ b/polybar/.local/bin/polybar-launch @@ -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 main & + +echo "Bars launched..." -- cgit v1.2.3-60-g2f50