c toggl
parent
0d17d89409
commit
1744639a9e
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue