Skip to content
Discussion options

You must be logged in to vote

Hello @mightyiam ! Ideally, queue-size should be smaller than the amount of images in the directory, otherwise wpaperd will start picking images at random and disregard the queue. This should have been noted in the README, but it's missing, thanks for pointing it out.

The idea is to keep track the last queue-size images that have been shown to avoid repetitions. By default it's 10, so the next random image will always be different than the last 10. In addition, you can iterate the images contained in the queue by using next/prev commands. When you are at the end of the queue, next will give you a new random image.

I hope this explains better how the queue work. Otherwise, I'll be happy to…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@mightyiam
Comment options

@mightyiam
Comment options

Answer selected by danyspin97
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants