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