From 0d17d8940942a7159dc7d6f9c6cc084742156bf9 Mon Sep 17 00:00:00 2001 From: Daniel Napora Date: Tue, 1 Jun 2021 16:48:57 +0200 Subject: [PATCH] fix conky_toggle --- bin/conky_toggle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/conky_toggle b/bin/conky_toggle index 0b7417d..72d9f01 100755 --- a/bin/conky_toggle +++ b/bin/conky_toggle @@ -2,7 +2,7 @@ SESSIONFILE=$HOME/.config/conky/conky-sessionfile while read -r line; do - THIS_CONKY=$(echo $line | awk '{print $3}') + THIS_CONKY=$(echo "${line##+([[:space:]])}" | awk '{print $3}') CONKYRC=${THIS_CONKY//\'/} if ! pgrep -f "${CONKYRC//\~/}"