Commit graph

16 commits

Author SHA1 Message Date
NAHO
c6547e2b26
hyprland: remove with statement
Link: https://github.com/danth/stylix/pull/501
2024-12-06 19:30:28 +01:00
NAHO
5282744c34
hyprland: reduce local variable scopes
Link: https://github.com/danth/stylix/pull/501
2024-12-06 19:29:54 +01:00
NAHO
638f30a67e
hyprland: inline single-use variable
Link: https://github.com/danth/stylix/pull/501
2024-12-06 19:28:45 +01:00
NAHO
47f1504b45
hyprland: structurally separate unconditional and conditional settings
Link: https://github.com/danth/stylix/pull/501
2024-12-06 19:27:02 +01:00
NAHO
16e4ca7fa7
hyprland: add hyprpaper.enable option
Closes: https://github.com/danth/stylix/issues/499
Link: https://github.com/danth/stylix/pull/501
2024-12-06 19:27:02 +01:00
Daniel Thwaites
cf5be812bd
hyprland: add testbed (#611)
There are currently some graphical bugs caused by the VM. [1]

[1]:  https://github.com/hyprwm/Hyprland/issues/1056

Co-authored-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2024-11-17 14:10:42 +01:00
diniamo
5ab1207b2f
hyprland: adapt breaking changes (#610)
Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>

Fixes: f71c2effed ("hyprland: revert attempt to address unavailable Hyprland breaking change (#608)")
2024-11-15 08:56:26 +01:00
NAHO
f71c2effed
hyprland: revert attempt to address unavailable Hyprland breaking change (#608)
Revert commit 762c07ee10 ("hyprland: adapt breaking changes (#605)"),
which falsely attempted to address a Hyprland breaking change [1] which
is not yet available as a Hyprland release or Nixpkgs package, and
therefore not available through Stylix's inputs.nixpkgs input.

To address the future breaking change, update Stylix's inputs.nixpkgs
input after the next Hyprland release is included in
nixpkgs/nixos-unstable.

[1]: d1638a09ba

Link: https://github.com/danth/stylix/pull/608
2024-11-07 17:53:53 +00:00
diniamo
762c07ee10
hyprland: adapt breaking changes (#605)
d1638a09ba
2024-11-06 20:17:03 +00:00
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