master
Daniel Napora 2021-06-01 17:36:15 +02:00
parent 0d17d89409
commit 1744639a9e
1 changed files with 2 additions and 0 deletions

View File

@ -2,6 +2,7 @@
SESSIONFILE=$HOME/.config/conky/conky-sessionfile
while read -r line; do
if [[ $line == *conky* ]]; then
THIS_CONKY=$(echo "${line##+([[:space:]])}" | awk '{print $3}')
CONKYRC=${THIS_CONKY//\'/}
@ -11,5 +12,6 @@ while read -r line; do
else
pkill -f "${CONKYRC//\~/}"
fi
fi
done < $SESSIONFILE
exit 0