Commit graph

829 commits

Author SHA1 Message Date
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
musjj
e6ea186571
stylix: bump base16.nix flake (#1234) 2025-05-06 16:12:50 -07:00
Mateus Auler
965865bc36
sxiv: add testbed (#1190)
Link: https://github.com/danth/stylix/pull/1190

Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-05-06 16:37:14 +02:00
awwpotato
a2b80b9006
doc: direct to all issues instead of open ones in issue templates (#1232)
Link: https://github.com/danth/stylix/pull/1232

Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-05-06 10:16:07 +02:00
Matt Sturgeon
78a96c5c5a
doc: fix longestFence usage of lib.max (#1231)
Fixes: 6e55a89494 ("doc: ensure code blocks are safely fenced (#1218)")
Link: https://github.com/danth/stylix/pull/1231

Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-05-05 23:42:19 +00:00
Matt Sturgeon
6e55a89494
doc: ensure code blocks are safely fenced (#1218)
Markdown uses ``` to start and end fenced code blocks. However code
blocks can themselves contain ``` sequences.

To deal with this, markdown allows code block fences to be of arbitrary
length; any sequence of fence-chars that is shorter than the opening
fence will not terminate the code block.

We can scan through the code block text to find the longest sequence of
`-chars to ensure the opening/closing fences are longer than the longest
in the code block.

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

Reviewed-by: awwpotato <awwpotato@voidq.com>
Co-authored-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-05-06 00:57:27 +02:00
Flameopathic
45aa0e8492
fzf: add testbed (#1201)
Link: https://github.com/danth/stylix/pull/1201

Co-authored-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-05-05 20:25:24 +02:00
Didn't read the style guide
ce5fcf851d
kde: apply theme without GUI session and ignore failures (#848)
Closes: https://github.com/danth/stylix/issues/809
Link: https://github.com/danth/stylix/pull/848

Reviewed-by: rkuklik <rkuklik@expect-it.cz>
Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
Reviewed-by: https://github.com/Alxandr
2025-05-05 16:28:20 +02:00
Shahar "Dawn" Or
6c8b77a7f5
qutebrowser: do not enable darkmode (#1184)
Closes: https://github.com/danth/stylix/issues/1183
Link: https://github.com/danth/stylix/pull/1184

Reviewed-by: awwpotato <awwpotato@voidq.com>
Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-05-05 12:04:35 +02:00
awwpotato
70f331c8e7
stylix: use lib.modules.importApply (#1185)
Link: https://github.com/danth/stylix/pull/1185

Reviewed-by: Flameopathic <64027365+Flameopathic@users.noreply.github.com>
Reviewed-by: Matt Sturgeon <matt@sturgeon.me.uk>
Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-05-04 23:59:47 +02:00
awwpotato
340a9c5455
mako: remove typo from hm module (#1224)
Fixes: b631dffa61 ("mako: update to new home-manager module (#1211)")
Link: https://github.com/danth/stylix/pull/1224

Reviewed-by: https://github.com/ddogfoodd
2025-05-04 23:54:08 +02:00
awwpotato
b8e2e8c730
stylix: set _file for overlays (#1214) 2025-05-04 13:05:58 -07:00
Matt Sturgeon
003e6770af
nixvim: move standalone-mode docs from configuration → nixvim readme (#1219)
Link: https://github.com/danth/stylix/pull/1219

Reviewed-by: awwpotato <awwpotato@voidq.com>
Reviewed-by: Flameopathic <64027365+Flameopathic@users.noreply.github.com>
2025-05-04 09:54:32 -07:00
musjj
fa5a34e7b1
mpv: unset custom curtain color for dimming (#1216)
Link: https://github.com/danth/stylix/pull/1216
2025-05-04 09:02:51 -07:00
awwpotato
b631dffa61
mako: update to new home-manager module (#1211)
Link: https://github.com/danth/stylix/pull/1211

Closes: https://github.com/danth/stylix/issues/1210
2025-05-03 20:58:28 -07:00
Mateus Auler
e51b3e64f9
lazygit: add testbed (#1191)
Link: https://github.com/danth/stylix/pull/1191

Reviewed-by: awwpotato <awwpotato@voidq.com>
Reviewed-by: Flameopathic <64027365+Flameopathic@users.noreply.github.com>
2025-05-03 14:29:22 -07:00
Mateus Auler
fe3feecf23
testbed: wrap autostart command in a shell script (#1204)
Allows testbeds autostart to be more complex than a single command.

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

Reviewed-by: awwpotato <awwpotato@voidq.com>
Reviewed-by: Flameopathic <64027365+Flameopathic@users.noreply.github.com>
2025-05-03 11:19:57 -07:00