mpv-notify
mpv-notify copied to clipboard
notify: keep rescaled images around
It seems that at least dunst removes the image from the notification if the file disappears.
Split from #4 in case it isn't needed.
I still don't see any sense in tmpfiles not getting cleaned up any time, even in .cache directories. But on second thought, I suggest that we keep the tmpfile around so dunst can display it, but write to the same tmpfile when a new notification is displayed on track change. We can then delete the tmpfile in mp.register_event("shutdown", …).
I think that would just make all album images appear the same. I'm fine with a local patch until dunst gets a proper fix.