summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam <56338480+adastx@users.noreply.github.com>2022-06-29 11:42:23 +0200
committerAdam <56338480+adastx@users.noreply.github.com>2022-06-29 11:42:23 +0200
commitc8970c6c977fa6688abf335f7d48f31f09d5bffc (patch)
tree528b145bc65d5c8697c6dbb7bd0225d01a93a6ca
parent7bc7ad1ab33ec54027f3f1bf7b7a25b99b5338b8 (diff)
Simplified polybar-launch script
-rwxr-xr-x.local/bin/polybar-launch9
1 files changed, 2 insertions, 7 deletions
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