hhannine / superpaper

A cross-platform multi monitor wallpaper manager.
MIT License
1.11k stars 46 forks source link

Add indicator of which file is currently the background image #131

Closed Ali-Flt closed 1 year ago

Ali-Flt commented 1 year ago

Hi, I'm trying to use superpaper with pywal so that colors would change with the background. I have set a folder as the superpaper source. Could it be possible for superpaper to somehow tell me which image is currently being shown? This way a script can update pywal. Thanks for this great app

Ali-Flt commented 1 year ago

I think this script does the trick https://github.com/hhannine/superpaper/blob/master/example-script/run-after-wp-change.py

Ali-Flt commented 1 year ago

Actually thinking about it more, I think other than the created background image itself, the path of the source image (which the multi-monitor background is created from) is also needed. Does the run-after-wp-change script have that as an argument too? or could it be added? The issue is that the final background picture created by superpaper may not be used for other places like the background of a messaging app, rather the original image is desired

hhannine commented 1 year ago

Currently the source image(s) is/are not passed through, but I think it could be added quite easily.

hhannine commented 1 year ago

This is implemented in 292bb1d464860871ea3326430ddf69624b9e2df4