From ca8a975fedacf1b1db0aaceafbd941c4c482a86e Mon Sep 17 00:00:00 2001 From: Peter Son Struschka Date: Mon, 3 Sep 2018 19:56:45 +0700 Subject: Added i3wm config --- i3wm/.config/polybar/launch.sh | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100755 i3wm/.config/polybar/launch.sh (limited to 'i3wm/.config/polybar/launch.sh') diff --git a/i3wm/.config/polybar/launch.sh b/i3wm/.config/polybar/launch.sh new file mode 100755 index 0000000..0b2f2d9 --- /dev/null +++ b/i3wm/.config/polybar/launch.sh @@ -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 -u $UID -x polybar >/dev/null; do sleep 1; done + +# Launch bar1 and bar2 +polybar topbar & + +echo "Bars launched..." -- cgit v1.2.3