Respect the stylix.polarity option and unset programs.regreet.extraCss
to enable custom styling.
This partially resolves the "ReGreet not using GTK or cursor theme" [1]
issue.
[1]: https://github.com/danth/stylix/issues/690
Link: https://github.com/danth/stylix/pull/723
Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
Run the CI on PRs, while preventing it from running twice for non-fork
PRs by limiting the push event to protected branches. [1]
This restores the workflow trigger that was accidentally modified in
commit 2b85a56235 ("ci: simplify workflows").
[1]: https://github.com/danth/stylix/pull/749#issuecomment-2573437938
Initialize the GNOME Text Editor with the Gedit module theme.
Link: https://github.com/danth/stylix/pull/747
Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
Add developer shells with direnv integration and the deadnix, hlint,
nixfmt-rfc-style, statix, stylish-haskell, typos, and yamllint
pre-commit hooks.
Ensure 'nix flake check' works as expected and add the nix-flake-check
package, which is a parallelized alternative to 'nix flake check'.
Improve and update the GitHub workflows.
Closes: https://github.com/danth/stylix/issues/236
Link: https://github.com/danth/stylix/pull/519
Approved-by: Daniel Thwaites <danth@danth.me>
Prevent the Check workflow from running duplicated checks outputs.
The jq query should now be faster and arguably more readable.
Link: https://github.com/danth/stylix/pull/519
Add the nix-flake-check package, which is a parallelized alternative to
'nix flake check', as it is not yet natively parallel:
> In the near future, we will make more Nix subcommands multi-threaded,
> such as 'nix flake check'.
>
> -- Eelco Dolstra, https://determinate.systems/posts/parallel-nix-eval
On a 16-threaded machine, 'nix run .#nix-flake-check' runs three times
faster (74s vs. 243s) than 'nix flake check'.
Link: https://github.com/danth/stylix/pull/519
Consolidate the separate Build and Lint workflows into a unified Check
workflow, as linting is now integrated into the build process.
Link: https://github.com/danth/stylix/pull/519
Document the imageScalingMode options according to swaybg, which should
be mostly universal.
Link: https://github.com/danth/stylix/pull/709
Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
Extend testbeds with individual GUI applications beyond DEs, offering the
following benefits:
- Preview PRs without changing your real configuration by running:
nix run github:«owner»/«repository»/«branch»#testbed-«application»-«polarity»'
- Unlike local installations, testbeds reset their filesystem between rebuilds,
ensuring each test simulates a fresh installation to identify cases requiring
manual steps for module effectiveness.
- Enhances CI to test that configurations evaluate correctly when a module is
enabled. The extent to which this confirms that the configuration actually
works can vary depending on the upstream implementation of the module.
The application testbeds are currently based on GNOME but could be replaced with
a lightweight compositor like Cage [1] in the future. GNOME was chosen for the
time being due to preconfigured services, such as a secret service [2], which
some applications require.
[1]: https://github.com/cage-kiosk/cage?tab=readme-ov-file#cage-a-wayland-kiosk
[2]: https://specifications.freedesktop.org/secret-service-spec/latest
Resolve the following 'magick convert' deprecation warning:
WARNING: The convert command is deprecated in IMv7, use "magick"
instead of "convert" or "magick convert"
Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
A hack necessary because of a home-manager limitation. It works because
numbers and strings are serialized the same way for .Xresources. It
should be reverted after this issue is addressed upstream.