From c8970c6c977fa6688abf335f7d48f31f09d5bffc Mon Sep 17 00:00:00 2001 From: Adam <56338480+adastx@users.noreply.github.com> Date: Wed, 29 Jun 2022 11:42:23 +0200 Subject: Simplified polybar-launch script --- .local/bin/polybar-launch | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to '.local/bin/polybar-launch') diff --git a/.local/bin/polybar-launch b/.local/bin/polybar-launch index b72556d..6e390a7 100755 --- a/.local/bin/polybar-launch +++ b/.local/bin/polybar-launch @@ -1,10 +1,5 @@ #!/bin/sh -# 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 & -polybar bar2 -r 2>&1 | tee -a /tmp/polybar2.log & - -echo "Bars launched..." +polybar bar1 -r 2>&1 | tee -a /tmp/polybar1.log & disown +polybar bar2 -r 2>&1 | tee -a /tmp/polybar2.log & disown -- cgit v1.2.3-70-g09d2