when opening a normal image imv image.png
then $imv_current_file
provides the filename which can be used in exec
commands to copy an image etc.
on the other hand if the image is received via stdin i.e. imv -
then the $imv_current_file
environment variable contains just -
. Therefore all commands/bindings which rely on a filename no longer work.
Is there currently a solution to that problem that i am not aware of?
If that is not the case, then i propose the following additions when running an exec
command:
$imv_current_file
$imv_current_file
with the path to the temporary filei am currently pretty busy but in case this is still an issue when i have time again i might try to implement it myself.