stylix/modules/hyprpaper
Ed Roberts Rayne f13c946181
hyprpaper: init (#377)
Initialize the 'hyprpaper' module.

In the future, it might be possible to 'unload' the one-off wallpaper to reduce
the running memory usage [1]:

> Preload does exactly what it says. It loads the entire wallpaper into
> memory. This can result in around 8 - 20MB of mem usage. It is not
> recommended to preload every wallpaper you have, as it will be a)
> taking a couple seconds at the beginning to load and b) take 100s of
> MBs of disk and RAM usage.
>
> Preload is meant only for situations in which you want a wallpaper to
> switch INSTANTLY when you issue a wallpaper keyword (e.g. wallpaper
> per workspace)
>
> In any and all cases when you don't mind waiting 300ms for the
> wallpaper to change, consider making a script that:
>  - preloads the new wallpaper
>  - sets the new wallpaper
>  - unloads the old wallpaper (to free memory)
>
> -- Hyprpaper [2]

[1]: https://github.com/danth/stylix/issues/408
[2]: 678d0e8959/README.md (L103-L111)

Co-authored-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2024-06-17 16:30:35 +02:00
..
hm.nix hyprpaper: init (#377) 2024-06-17 16:30:35 +02:00