I gon't understand previous/next in random #136
-
|
I set the queue-size to more than the images in the directory like the documentation instructs and I'm sorry I just don't entirely understand what happens when I use |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
|
Hello @mightyiam ! Ideally, The idea is to keep track the last I hope this explains better how the queue work. Otherwise, I'll be happy to answer any question. |
Beta Was this translation helpful? Give feedback.
Hello @mightyiam ! Ideally,
queue-sizeshould 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-sizeimages that have been shown to avoid repetitions. By default it's10, 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 usingnext/prevcommands. When you are at the end of the queue,nextwill give you a new random image.I hope this explains better how the queue work. Otherwise, I'll be happy to…