From 1bc18b085e42db24a5c4126bbe77423786420e00 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ferit=20Yi=C4=9Fit=20BALABAN?= Date: Mon, 14 Mar 2022 01:01:40 +0300 Subject: [PATCH] It just works better now --- launch_polybar.sh | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/launch_polybar.sh b/launch_polybar.sh index 7447395..99255df 100644 --- a/launch_polybar.sh +++ b/launch_polybar.sh @@ -1,9 +1,2 @@ #!/bin/bash - -# Terminate already running bar instances -killall -q polybar -# If all your bars have ipc enabled, you can also use -# polybar-msg cmd quit - -# Launch Polybar, using default config location ~/.config/polybar/config -polybar example 2>&1 | tee -a /tmp/polybar.log & disown +ps -C polybar >/dev/null && : || polybar --quiet --reload & disown