Open Vallimar opened 8 years ago
Sorry for taking so long to answer you back. I will try to make something but it will take some time because right now I don't do any kind of list. The only thing I do now is get some image randomly from any of the folders defined so, if you add some new image, can be selected without reloading the extension... but, of course, that implies that any image can be selected more than once without having to select all the other images in your folders.
I saw how it works currently and realize I'm basically asking you to overhaul things a good bit. Just thought that it might be a nice enhancement. I do agree that it's nice not having to manually add new images, which is why I mentioned the ctime/mtime tracking but I'm not sure how well that would work in reality and no idea if the gjs stuff has any hooks for alteration monitoring of it's own.
And it's just a suggestion, so if you aren't liking the idea then don't worry about it!
Thanks for listening though!
Any chance of keeping the list of pictures and cycling through each one before regenerating the selection list? It would keep pulling from the list at random but each time the next wallpaper is chosen, remove it from the selection list, this includes manually skipped ones also. Can check the last change/modified date of directories each check to see if the contents changed and automatically regenerate the full list if so. Maybe add a manual refresh button to do the same too. Not sure if this is worth bothering with for the lockscreen (I don't use that part personally) but the desktop would be nice.