Commit graph

7 commits

Author SHA1 Message Date
Daniel Thwaites
c95de36252
hyprland: only enable hyprpaper when hyprland is installed (#544)
See https://github.com/danth/stylix/issues/542#issuecomment-2324323870

Closes #542
2024-09-02 11:39:50 +01:00
sdaqo
0fc4e9f144
hyprland: add 'groupbar' colors (#446) 2024-06-23 16:20:48 +02:00
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
Jalil David Salamé Messina
7682713f6a
stylix: add 'stylix.enable' option (#244)
Add a 'stylix.enable' option to enable or disable all Stylix modules in
order to resolve issues similar to [2].

To align with the default 'lib.mkEnableOption' [1] behavior,
'stylix.enable' defaults to 'false'.

BREAKING CHANGE: Stylix is disabled by default. To enable it, use:

    stylix.enable = true;

[1]: https://github.com/NixOS/nixpkgs/blob/23.11/lib/options.nix#L91-L105
[2]: https://github.com/danth/stylix/issues/216

Co-authored-by: Daniel Thwaites <danthwaites30@btinternet.com>
Co-authored-by: Jalil David Salamé Messina <jalil.salame@gmail.com>
Co-authored-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2024-06-10 11:52:47 +02:00
diniamo
f0ddd45fbe
treewide: change window manager style guide (#414) 2024-06-08 16:17:58 +01:00
Airradda
7a7987c782
Fix group variable changes in Hyprland module (#169)
This resolve the issues introduced in hyprwm/Hyprland#3522, which
moved group variables out of general and into their own section.
2023-10-28 14:27:10 +01:00
Basil Keeler
c3c9f4784b
Add support for Hyprland (#145)
Co-authored-by: Daniel Thwaites <danthwaites30@btinternet.com>
2023-09-10 19:58:13 +00:00