fix conky_toggle

master
Daniel Napora 2021-06-01 16:48:57 +02:00
parent 386f393299
commit 0d17d89409
1 changed files with 1 additions and 1 deletions

View File

@ -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//\~/}"