Commit graph

845 commits

Author SHA1 Message Date
Flameopathic
e2fe2df9b0
doc: restructure module rendering (#1083) 2025-05-18 14:09:50 +01:00
Daniel Thwaites
940de011bb
gnome: update CSS to version 48.1 (#1295)
Closes: https://github.com/danth/stylix/issues/1293

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

Reviewed-by: awwpotato <awwpotato@voidq.com>
2025-05-18 04:38:11 +00:00
awwpotato
5462829461
doc: update nix-darwin owner (#1301)
Link: https://github.com/nix-community/stylix/pull/1301

Reviewed-by: Daniel Thwaites <danth@danth.me>
2025-05-17 21:24:09 -07:00
Daniel Thwaites
5f6f08daad
treewide: change repository owner to nix-community (#1297) 2025-05-18 03:06:05 +01:00
Daniel Thwaites
7a0f30b57e
stylix: update documentation URL in palette.html (#1298) 2025-05-18 02:03:28 +00:00
pancho horrillo
91b23c7bc6
doc: explain how to build & check the docs locally (#1273) 2025-05-18 00:20:44 +01:00
lunabirkeland
3c172cbbc6
gnome-text-editor: update style path (#1296) 2025-05-17 22:18:47 +01:00
awwpotato
101d23dfac
ci: fix dependabot backport label (#1288)
Link: https://github.com/danth/stylix/pull/1288
2025-05-16 17:22:12 -07:00
dependabot[bot]
4d68f1f761 ci: bump DeterminateSystems/update-flake-lock from 24 to 25
Bumps [DeterminateSystems/update-flake-lock](https://github.com/determinatesystems/update-flake-lock) from 24 to 25.
- [Release notes](https://github.com/determinatesystems/update-flake-lock/releases)
- [Commits](https://github.com/determinatesystems/update-flake-lock/compare/v24...v25)

---
updated-dependencies:
- dependency-name: DeterminateSystems/update-flake-lock
  dependency-version: '25'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-05-16 17:07:20 -07:00
awwpotato
ecfa5c40b6
flake: include packages in checks (#1285)
Include the packages in the checks output to resolve the regression
introduced in commit 8b015b5fa0 ("flake: use flake-parts (#1208)").

Fixes: 8b015b5fa0 ("flake: use flake-parts (#1208)")
Link: https://github.com/danth/stylix/pull/1285

Co-authored-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
Co-authored-by: Matt Sturgeon <matt@sturgeon.me.uk>
Reviewed-by: Matt Sturgeon <matt@sturgeon.me.uk>
Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-05-17 01:17:26 +02:00
Matt Sturgeon
88e1c23df2
flake: fix and refactor the homeManagerModules alias (#1287)
Fixes: 0e5b1613bd ("stylix: rename homeManagerModules to homeModules (#1267)")
Link: https://github.com/danth/stylix/pull/1287

Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-05-17 00:37:10 +02:00
awwpotato
31fff1c533
doc: use callPackage (#1282) 2025-05-16 13:48:09 -07:00
awwpotato
c72824147e
flake: use importApply for modules (#1281)
Link: https://github.com/danth/stylix/pull/1281

Reviewed-by: Matt Sturgeon <matt@sturgeon.me.uk>
Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-05-16 21:51:27 +02:00
awwpotato
8b015b5fa0
flake: use flake-parts (#1208)
Link: https://github.com/danth/stylix/pull/1208

Reviewed-by: Matt Sturgeon <matt@sturgeon.me.uk>
Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-05-16 11:52:15 -07:00
awwpotato
49b1eb9371
cava: refactor + fix rainbow.enable description (#1276)
Link: https://github.com/danth/stylix/pull/1276
2025-05-16 10:13:53 -07:00
awwpotato
0e5b1613bd
stylix: rename homeManagerModules to homeModules (#1267)
Link: https://github.com/danth/stylix/pull/1267
Link: https://github.com/nix-community/home-manager/pull/6406

Reviewed-by: eveeifyeve <88671402+Eveeifyeve@users.noreply.github.com>
Reviewed-by: Matt Sturgeon <matt@sturgeon.me.uk>
Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-05-16 16:39:50 +02:00
Shahar "Dawn" Or
7566bc0150
mako: don't use criteria option (#1264)
Deprecated by 0be2c246e3

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

Reviewed-by: awwpotato <awwpotato@voidq.com>
Reviewed-by: Mateus Auler <mateus@auler.dev>
2025-05-15 20:19:03 -07:00
NAHO
98b1d24a84
stylix: mkEnableTarget should not check stylix.enable (#1255)
Link: https://github.com/danth/stylix/pull/1255

Approved-by: Igor Rzegocki <ajgon@users.noreply.github.com>
Reviewed-by: awwpotato <awwpotato@voidq.com>
Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-05-16 02:13:47 +02:00
Matt Sturgeon
69303679a4
kubecolor: check stylix.enable
All targets should check the global `enable` option, not just their own.
2025-05-15 03:46:36 +01:00
Matt Sturgeon
7051eb4db1
kitty: check stylix.enable
All targets should check the global `enable` option, not just their own.
2025-05-15 03:46:36 +01:00
Matt Sturgeon
d419d335c0
gtk: check stylix.enable
All targets should check the global `enable` option, not just their own.
2025-05-15 03:46:36 +01:00
Matt Sturgeon
94e68af4a4
doc: note modules must check stylix.enable
Added a note to the docs to clarify that a target module must always
check the global `stylix.enable`, in addition to its own `enable` option.
2025-05-15 03:46:35 +01:00
Daniel Thwaites
030af3e071
stylix: remove cfg.enable from mkEnableTarget default
The global `stylix.enable` option is not relevant to the per-target
`enable` option's default.

The individual modules should already be gated behind `stylix.enable`,
so there is no need for it to also affect the value of
`stylix.targets.«name».enable`.

This should not produce any change in behavior for correctly written
modules.

---

To give a concrete example:

```nix
{
  stylix.enable = false;
  stylix.autoEnable = true;
  stylix.targets.foo.enable = true;
}
```

Here, the `stylix.enable` option is set to `false`, so no targets should
be enabled, regardless of their per-target `enable` option's value.

However if the `foo` target assumes it only needs to read its own
`enable` option, in this example it would define its config even though
Stylix is disabled globally.
2025-05-15 03:46:35 +01:00
awwpotato
b460904a6f
doc: use hash instead of sha256 in example (#1270)
Hash is preferred in nixpkgs, we should follow that here.

Link: https://github.com/danth/stylix/pull/1270
2025-05-14 19:43:53 -07:00
Flameopathic
71f8b1166b
nixcord: change theme location on nix-darwin (#1221)
Link: https://github.com/danth/stylix/pull/1221

Closes: https://github.com/danth/stylix/issues/1220

Related: https://github.com/danth/stylix/pull/784

Reviewed-by: awwpotato <awwpotato@voidq.com>
Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
Reviewed-by: eveeifyeve <88671402+Eveeifyeve@users.noreply.github.com>
2025-05-14 18:03:53 -07:00
awwpotato
cb42af5571
foliate: use upstream option (#1260)
Following a home-manager module being added for Foliate [1]

[1]: https://github.com/nix-community/home-manager/pull/7049

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

Reviewed-by: Gideon Wolfe <wolfeg2@wwu.edu>
2025-05-14 18:00:02 -07:00
awwpotato
2dcb18884f
stylix: gitignore .worktree (#1268) 2025-05-14 17:29:07 -07:00
awwpotato
98444a942a
stylix: sort flake inputs (#1265) 2025-05-14 19:40:43 +01:00
awwpotato
5d28886e94
halloy: use upstream themes option (#1259)
Link: https://github.com/danth/stylix/pull/1259

Reviewed-by: Oliver Jõgar <me@treier.xyz>
2025-05-14 09:29:23 -07:00
awwpotato
1466793570
stylix: use keep-sorted (#1263)
Use keep-sorted, following Nixpkgs [1]
("workflows/check-maintainers-sorted: drop and replace with keep-sorted
#404725").

[1]: https://github.com/NixOS/nixpkgs/pull/404725

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

Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-05-13 23:02:49 +02:00
awwpotato
2fbe00aebe
doc: wrap to width of 80 (#1262)
Link: https://github.com/danth/stylix/pull/1262

Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-05-13 22:55:08 +02:00
Kilian Mio
b63f664086
kde: add and update testbeds (#1252)
Adds testbed for plasma6.
In NixOS 25.11 plasma5 will be deprecated so plasma6 should become the default.

Related: https://github.com/danth/stylix/issues/1092

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

Reviewed-by: awwpotato <awwpotato@voidq.com>
2025-05-12 18:32:38 -07:00
awwpotato
f07a4d0b85 zellij: use upstream themes option 2025-05-12 14:16:49 -07:00
pancho horrillo
0c0df649f7 wayprompt: add myself as maintainer 2025-05-12 10:29:19 -07:00
pancho horrillo
787a156f46 wayprompt: capitalize name
Seems that lowercase `wayprompt` refers to the actual binary, but since
the project provides three different ones, using the capitalized
form (as shown, albeit inconsistently, in its README¹) will, I think,
better identify the project as a whole.

Note that all three binaries are configured by the same configuration
file that this module provides.

¹: https://git.sr.ht/~leon_plickat/wayprompt/
2025-05-12 10:29:19 -07:00
pancho horrillo
e020f1e815 wayprompt: support opacity
Even though it is not documented, the code will parse¹ and honour the
transparency (alpha) byte. I mentioned it briefly here².

¹: 66fe87408d/item/src/Config.zig (L257)
²: fb061f555f/modules/programs/wayprompt.nix (L53)
2025-05-12 10:29:19 -07:00
pancho horrillo
89ebfe959b wayprompt: drop generation of 0x prefixes
Sorry I wasn’t clear on the Home Manager module documentation: there is
no need to prepend the '0x' prefix to the hex values, the format handler
takes care of that.

Also note that I just dropped the `lib.mapAttrs` portion, but the
automatic formatter had other ideas :-).
2025-05-12 10:29:19 -07:00
NukDokPlex
6b8309550e
wayprompt: init (#1250)
Link: https://github.com/danth/stylix/pull/1250

Reviewed-by: awwpotato <awwpotato@voidq.com>
Co-authored-by: awwpotato <awwpotato@voidq.com>
2025-05-11 23:17:33 +00:00
musjj
77696d77ae
yazi: more color tweaks (#1245)
Link: https://github.com/danth/stylix/pull/1245

Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-05-12 01:10:42 +02:00
NAHO
aaf976a819
stylix: emphasize compliance with Nixpkgs maintainer list (#1254)
Link: https://github.com/danth/stylix/pull/1254

Reviewed-by: awwpotato <awwpotato@voidq.com>
2025-05-11 15:31:39 -07:00
Gideon Wolfe
91f71c13b5
foliate: init (#1203)
Link: https://github.com/danth/stylix/pull/1203

Reviewed-by: awwpotato <awwpotato@voidq.com>
Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-05-11 19:12:05 +02:00
awwpotato
ad7dcca79d
ci: add labeler action (#1137)
Link: https://github.com/danth/stylix/discussions/1109
Link: https://github.com/danth/stylix/pull/1137

Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-05-11 18:05:19 +02:00
awwpotato
382ec4b31a
stylix: use call package for check-maintainers-sorted (#1249)
Link: https://github.com/danth/stylix/pull/1249

Reviewed-by: Matt Sturgeon <matt@sturgeon.me.uk>
2025-05-10 16:48:40 -07:00
musjj
ce6c8460e7
stylix: update base16 (#1238)
Link: https://github.com/danth/stylix/pull/1238

Reviewed-by: awwpotato <awwpotato@voidq.com>
Tested-by: awwpotato <awwpotato@voidq.com>
2025-05-10 16:27:38 -07:00
awwpotato
df51c62e43
starship: fix testbed (#1248) 2025-05-10 11:28:48 -07:00
awwpotato
1c71f3bde2
treewide: use lib.getExe (#1241) 2025-05-10 12:07:43 +01:00
musjj
6690180c17
yazi: tweak colors (#1233)
Link: https://github.com/danth/stylix/pull/1233

Reviewed-by: awwpotato <awwpotato@voidq.com>
2025-05-09 09:05:01 -07:00
Karun Sandhu
8775d8322a
fnott: set font size (#1243)
Link: https://github.com/danth/stylix/pull/1243

Reviewed-by: awwpotato <awwpotato@voidq.com>
2025-05-09 08:21:32 -07:00
Matt Sturgeon
b06c1cb60a
stylix: simplify font options & use literalExpression default packages (#1225) 2025-05-09 12:10:01 +01:00
awwpotato
685deb9bae
Revert "stylix: bump base16.nix flake" (#1237) 2025-05-06 16:44:17 -07:00