Commit graph

9 commits

Author SHA1 Message Date
awwpotato
e43eb4e2a7
stylix: init module maintainers framework (#977)
Initialize module maintainers framework to streamline the future
population of module maintainers [1].

[1]: https://github.com/danth/stylix/issues/275

Link: https://github.com/danth/stylix/pull/977

Reviewed-by: Daniel Thwaites <danth@danth.me>
Co-authored-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-03-14 19:29:51 +01:00
Jaanonim
cbe42e21ee
treewide: rename wpaperd and vscode options (#905)
Resolve the following warnings:

    - The option `programs.wpaperd.settings' defined in
      `/nix/store/<HASH>-source/modules/wpaperd/hm.nix' has been renamed
      to `services.wpaperd.settings'.

    - The option `programs.vscode.extensions' defined in
      `/nix/store/<HASH>-source/modules/vscode/hm.nix' has been renamed
      to `programs.vscode.profiles.default.extensions'.

    - The option `programs.vscode.userSettings' defined in
      `/nix/store/<HASH>-source/modules/vscode/hm.nix' has been renamed
      to `programs.vscode.profiles.default.userSettings'.


The VSCode theme is now only applied to the 'default' profile.

Closes: https://github.com/danth/stylix/issues/903
Link: https://github.com/danth/stylix/pull/905

Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-02-24 16:43:41 +01:00
Flameopathic
c8e4a0d218
treewide: optionalize stylix.image option (#717)
Optionalize the stylix.image option when stylix.base16Scheme is set,
making the following Stylix configurations valid:

    [
      // Now it possible to set 'stylix.image = null', if
      // stylix.base16Scheme is set.
      {
        base16Scheme = /* ... */;
      }

      // This configuration was already possible.
      {
        image = /* ... */;
      }

      // This configuration was already possible.
      {
        base16Scheme = /* ... */;
        image = /* ... */;
      }
    ]

Closes: https://github.com/danth/stylix/issues/200
Closes: https://github.com/danth/stylix/issues/442
Link: https://github.com/danth/stylix/pull/717

Co-authored-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
Tested-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
Reviewed-by: Daniel Thwaites <danth@danth.me>
2025-02-24 15:13:57 +01:00
NAHO
5e8be7521e
treewide: simplify and standardize message convention (#796) 2025-01-25 19:23:25 +00:00
hazel
e00ed7e7f4
wpaperd: fix image scaling modes (#710)
Previously, the fill image scaling mode in wpaperd was mapped to its fit
mode, which scales the image to fit within the screen without cropping.
The behavior is now updated to use wpaperd's center mode instead,
aligning more closely with swaybg's fill mode. [1]

[1]: b0b7e66fd3/README.md (wallpaper-configuration)

Link: https://github.com/danth/stylix/pull/710

Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-01-18 12:36:18 +01:00
NAHO
ad64260a75
treewide: add and apply nixfmt pre-commit hook
Link: https://github.com/danth/stylix/pull/519
2025-01-04 17:48:26 +01:00
Devin
a2d66f2547
treewide: extend stylix.imageScalingMode support
Add stylix.imageScalingMode support to all modules except:

- hyprlock
- hyprpaper
- kde
- lightdm
- sway

Closes: https://github.com/danth/stylix/issues/677
Link: https://github.com/danth/stylix/pull/678

Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
Reviewed-by: Daniel Thwaites <danth@danth.me>
2024-12-18 15:15:36 +01: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
mham
00a11ba2f0
wpaperd: init (#383)
Co-authored-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2024-05-26 18:29:37 +01:00