From 1db91fb0eb8b850872401e91c4c2676af5f252d0 Mon Sep 17 00:00:00 2001 From: Vincent Bernat Date: Sat, 17 Jul 2021 11:03:50 +0200 Subject: [PATCH] polybar: optimize the case with one monitor --- bin/polybar | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/polybar b/bin/polybar index a15a32a..7f44520 100755 --- a/bin/polybar +++ b/bin/polybar @@ -9,7 +9,7 @@ PRIMARY=${PRIMARY:-${MONITORS%% *}} case $(echo $MONITORS | wc -w) in 1) - MONITOR=$PRIMARY polybar --reload alone & + MONITOR=$PRIMARY exec polybar --reload alone ;; *) MONITOR=$PRIMARY polybar --reload primary &