mylinuxforwork / dotfiles

The ML4W Dotfiles for Hyprland - An advanced and full-featured configuration for the dynamic tiling window manager Hyprland including an easy to use installation script for Arch based Linux distributions.
GNU General Public License v3.0
451 stars 48 forks source link

[FEATURE] Change wallpapers in alphabetical order #60

Open Ahorts opened 1 month ago

Ahorts commented 1 month ago

Is it possible to make the wallpaper engine go through the wallpaper folder in order. I have about 80 wallpapers and the random option barely displays all of them. In fact, the wallpaper engine often displays only a few of them.

I have taken a look at hyprpaper and swww and they don't seem to have that option. Is it possible to implement this or the wallpaper engine would have to support it first?

mylinuxforwork commented 1 month ago

@Ahorts what is the order when you open waypaper? Is it alphabetical?

Ahorts commented 1 month ago

@mylinuxforwork Yes.

mylinuxforwork commented 1 month ago

Not sure if I understand your request correctly. Can you describe step by step the expected behavior?

Ahorts commented 1 month ago

@mylinuxforwork Normally the wallpaper automation script selects a random wallpaper in the wallpaper folder. I am asking if it's possible to make the script select these images in order. So from first to bottom. Hence, it shouldn't use the random but should be able to remember the last image it used and pick the next one in order.

I hope this makes sense

mylinuxforwork commented 1 month ago

Now I got it. Thanks for the explanation.

Unfortunately this is currently not supported by waypaper. I use waypaper as a backend. But I know that waypaper will release a parameter to load a selected picture as wallpaper from the command line.

If this is out I can check if I can script it as described.

Ahorts commented 1 month ago

Oh ok. Thanks