From 303f89536b6179a1b0a75e003d79d1fd46d0bc60 Mon Sep 17 00:00:00 2001 From: Adam <56338480+adastx@users.noreply.github.com> Date: Tue, 31 May 2022 16:28:16 +0200 Subject: Moved polybar launch script to .local/bin --- .local/bin/polybar-launch | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100755 .local/bin/polybar-launch (limited to '.local/bin') diff --git a/.local/bin/polybar-launch b/.local/bin/polybar-launch new file mode 100755 index 0000000..d425d48 --- /dev/null +++ b/.local/bin/polybar-launch @@ -0,0 +1,10 @@ +#!/usr/bin/env bash + +# Terminate already running bar instances +killall -q polybar + +echo "---" | tee -a /tmp/polybar1.log /tmp/polybar2.log +polybar bar1 -r 2>&1 | tee -a /tmp/polybar1.log & disown +polybar bar2 -r 2>&1 | tee -a /tmp/polybar2.log & disown + +echo "Bars launched..." -- cgit v1.2.3-70-g09d2