Conky: dynamically change image (no function)
by EVIDEON from LinuxQuestions.org on (#5CWM6)
Hi everyone,
I've got a problem with my conky and can't figure out how to solve :
with
grep -o 'percent>[^"]*%' moon_1.xml | cut -c9-10
I have a number, then I need to insert it into image call
${image ~/.conky/EVIDEON/images/moon/${texeci 60 grep -o 'percent>[^"]*%' moon_1.xml | cut -c9-10}.png -p 100,100 -s 120x120}
just to sequentially load image everytime the number changes.
Previous syntax doesn't work and i would avoid a (about) 30 days $if_match.
Please help me.
Best regards


I've got a problem with my conky and can't figure out how to solve :
with
grep -o 'percent>[^"]*%' moon_1.xml | cut -c9-10
I have a number, then I need to insert it into image call
${image ~/.conky/EVIDEON/images/moon/${texeci 60 grep -o 'percent>[^"]*%' moon_1.xml | cut -c9-10}.png -p 100,100 -s 120x120}
just to sequentially load image everytime the number changes.
Previous syntax doesn't work and i would avoid a (about) 30 days $if_match.
Please help me.
Best regards