I'm trying to use conky's image variable in a way that it read the image file path from a file or a pipe.Something like ${image ${execp cat /home/r1y4n/.conky/imagepath.txt} -p 30,0 -s 150x150 }But it seems conky doesn't support nesting variables.  here says image variable can be modified at runtime using $execpSo how can I change the image argument in each conky loop? I want to be able to control the image is shown from outside of conky by creating a bash script or something and setting a shortcut for it.
Dynamic conky variable argument
conky
I would simply use a symlink and change its target as needed. For example, create a link called conkyimage.png which points to ~/myimages/unicorn.png:ln -s ~/myimages/unicorn.png ~/conkyimageThen, in conkyrc, have it show that image (note the -n, which tells conky not to cache the image):${image ~/conkyimage.png -p 30,0 -s 150x150 -n }Finally, write a script that changes the link's target:#!/usr/bin/env bash## Update the link's targetln -fs $1 ~/conkyimage.pngYou then run the script giving it the target image as an argument:script.sh /path/to/new/image.png