Commit graph

597 commits

Author SHA1 Message Date
Daniel Thwaites
4c04e0dece
doc: redirect old reference pages to new location 2025-02-23 15:20:12 +00:00
Daniel Thwaites
2b2f260a69
doc: collapse platforms and modules
Collapsing is only possible for pages, not headings, so I had to
combine platforms and modules into a single section and nest them
under draft pages.

Later, we could migrate some content from the configuration page to
these draft pages to make the flow of the book more natural.
2025-02-23 15:20:12 +00:00
Daniel Thwaites
99096ef3e3
doc: clarify global option
Co-authored-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-02-23 15:20:11 +00:00
Daniel Thwaites
13667122ec
doc: standardize Bash code
Co-authored-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-02-23 15:20:11 +00:00
Daniel Thwaites
472bd50c85
doc: store module documentation as a README within the module
This has two benefits:

1. It will be displayed when browsing the module source code on
   GitHub.
2. It prevents the documentation inadvertently disappearing if the
   module directory is renamed.
2025-02-19 13:45:27 +00:00
Daniel Thwaites
7afc6fb46d
doc: describe how to create module documentation 2025-02-19 13:45:27 +00:00
Daniel Thwaites
d6796ff307
doc: fix some alerts not being rendered by substituteInPlace 2025-02-18 14:38:27 +00:00
Daniel Thwaites
de2057a000
doc: disable section numbers
Due to new module pages being added fairly often, the section numbers
won't be stable, so they provide little benefit.
2025-02-18 14:38:27 +00:00
Daniel Thwaites
77e58881df
doc: split modules into individual pages 2025-02-18 14:38:27 +00:00
Daniel Thwaites
e87bf16df9
stylix: use absolute paths for module imports 2025-02-18 14:37:50 +00:00
Daniel Thwaites
9343b660c9
stylix: fix palette generator caching (#867)
Ensure the palette generator is properly cached by fixing the bug
introduced in commit efb734ff43 ("Prevent scheme generation from
running when result is not used (#56)"), where the added indirection
prevents the output of the palette generator becoming part of the final
system.

Using highestPrio as a condition should prevent the palette generator
being forced to run when the output is not used, which is the issue that
the indirection was meant to solve.

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

Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-02-18 13:34:14 +01:00
Kilian Mio
d171b19c1c
qt: add temporary warnings for plasma6 (#845)
This adds temporary warnings when plasma6 is enabled and will be
replaced with actual handling of plasma6 when styling solutions are
added upstream.

Currently, this requires a manual work around that is only reasonable on
home-manager and not on NixOS. Users will be deferred to find
workarounds in the issue when they encounter this warning.

Relates to #835

Co-authored-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-02-18 11:35:43 +00:00
Flameopathic
7feb1c29bf
discord: combine nixcord, vencord, and vesktop modules (#854)
Link: https://github.com/danth/stylix/pull/854

Reviewed-by: Daniel Thwaites <danth@danth.me>
Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-02-17 22:00:51 +01:00
Daniel Thwaites
21d68dab9d
firefox: update GNOME theme input (#871)
Closes: https://github.com/danth/stylix/issues/870
Link: https://github.com/danth/stylix/pull/871

Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-02-17 14:15:49 +01:00
NAHO
ba560ec19c
stylix: prevent silently overriding testbeds with the same name (#861) 2025-02-17 12:57:25 +00:00
NAHO
211a8440e7
stylix: support multiple testbeds per module (#858)
Support multiple testbeds per module with
/modules/<MODULE>/testbeds/<TESTBED>.nix, while validating various
invariants.
2025-02-17 12:56:46 +00:00
Daniel Thwaites
e86de61bb8
gnome: fix Home Manager activation (#860)
This suffers from the same issues as the KDE activation:

- The program is not available in $PATH, but should not be installed for
  all users.

- The program only works when GNOME Shell is running.

Therefore, we use a very similar solution.

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

Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-02-12 16:43:34 +01:00
Bernardo Meurer
d8289c3f0e
ci: disable IFD (#855)
Disable IFD in the CI to prevent regressions mentioned in commit
e72aa84da1 ("{vencord,vesktop}: revert attempt to support fonts
(#844)").

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

Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-02-11 22:32:56 +01:00
Daniel Thwaites
4af2686c1c
nixcord: use new template format (#852)
Fixes: eb5f817567 ("{vencord,vesktop}: support fonts without IFD (#846)")
Link: https://github.com/danth/stylix/pull/852

Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-02-10 20:23:47 +01:00
soulsoiledit
7f0154c371
neovim: fix SignColumn transparency (#628)
Closes: https://github.com/danth/stylix/issues/599
Link: https://github.com/danth/stylix/pull/628

Tested-by: https://github.com/anotherhadi
Tested-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-02-10 18:43:06 +01:00
rkuklik
65eae5aaa2
kde: fix KDE apps ignoring colorscheme (#850)
Closes: https://github.com/danth/stylix/issues/833
Link: https://github.com/danth/stylix/pull/850

Tested-by: FirelightFlagboy <30697622+FirelightFlagboy@users.noreply.github.com>
Approved-by: FirelightFlagboy <30697622+FirelightFlagboy@users.noreply.github.com>
Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-02-10 18:39:18 +01:00
Flameopathic
eb5f817567
{vencord,vesktop}: support fonts without IFD (#846)
Restores commit be606eaa87
after it was reverted in e72aa84da1,
with an alternative implementation which doesn't require
import-from-derivation.
2025-02-10 11:18:14 +00:00
NAHO
2c1d493c5f
qt: respect stylix.enable (#847)
Fixes #780
2025-02-10 11:13:11 +00:00
Bernardo Meurer
e72aa84da1
{vencord,vesktop}: revert attempt to support fonts (#844)
Revert commit be606eaa87 ("{vencord,vesktop}: fonts (#840)"), which
accidentally introduced IFD and broke evaluation for flakes users.

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

Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-02-09 17:11:34 +01:00
NAHO
7818098f4d
treewide: remove trailing whitespaces and add trailing newline (#841) 2025-02-08 22:20:10 +01:00
Flameopathic
be606eaa87
{vencord,vesktop}: fonts (#840)
Closes: https://github.com/danth/stylix/issues/829
Link: https://github.com/danth/stylix/pull/840

Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-02-08 21:42:34 +01:00
rkuklik
ff8ce4f3d2
kde: make wallpaper optional and nondestructive (#823)
Link: https://github.com/danth/stylix/pull/823

Reviewed-by: Flameopathic <flameopathic@gmail.com>
Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-02-08 18:08:22 +01:00
1444
708770fcb0
wayfire: init (#765)
Link: https://github.com/danth/stylix/pull/765

Reviewed-by: Daniel Thwaites <danth@danth.me>
Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-02-08 16:49:46 +01:00
Louis Thevenet
b3ef236d22
glance: init (#827)
Link: https://github.com/danth/stylix/pull/827

Co-authored-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-02-08 16:45:50 +01:00
Oliver Jõgar
87791e0665
halloy: init (#825)
Link: https://github.com/danth/stylix/pull/825

Co-authored-by: Calvin Lee <pounce@integraldoma.in>
Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-02-08 15:29:44 +01:00
NAHO
d513f59da5
stylix: update and simplify flake-compat instructions (#816)
Link: https://github.com/danth/stylix/pull/816

Reviewed-by: Daniel Thwaites <danth@danth.me>
2025-02-03 20:40:26 +01:00
Daniel Thwaites
bae5cbb8fb
doc: expand description of font units (#819)
Link: https://github.com/danth/stylix/pull/819

Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-02-03 20:34:17 +01:00
NAHO
596d664407
kde: correct quotes in stylix-activate-kde to prevent failure (#832)
Fixes: d9df2b4200 ("kde: add decorations option and polish code (#772)")
Link: https://github.com/danth/stylix/pull/832
2025-02-03 20:26:13 +01:00
Taha
8be2aed295
qt: fix qt6ct directory name (#830)
Link: https://github.com/danth/stylix/pull/830
Fixes: b7f50a56c3 ("qt: add flexible theming with sensible defaults (#780)")

Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-02-03 20:08:32 +01:00
Kilian Mio
b7f50a56c3
qt: add flexible theming with sensible defaults (#780)
This extends the Qt theming improvements for KDE from PR [1] ("kde:
replace kdeglobals with Kvantum theme") to provide generic Qt theming
support in KDE and non-KDE environments.

[1]: https://github.com/danth/stylix/pull/142

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

Co-authored-by: Blusk <bluskript@gmail.com>
Co-authored-by: Jackaed <ed.andy.jackson@gmail.com>
Co-authored-by: Kilian Mio <86004375+Mikilio@users.noreply.github.com>
Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
Tested-by: https://github.com/Mistrustfully
Tested-by: https://github.com/eblechschmidt
Tested-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-02-03 18:40:41 +01:00
ari
b00c9f46ae nixcord: theme Vencord and Vesktop instead of just Vencord
Closes: https://github.com/danth/stylix/issues/802
Fixes: e594886eb0 ("nixcord: init (#767)")
Link: https://github.com/danth/stylix/pull/822

Co-authored-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-01-31 00:08:19 +01:00
rkuklik
d9df2b4200
kde: add decorations option and polish code (#772)
Commit e0a41d3a25 ("kde: replace systemd unit with AutostartScript for
theme application (#708)") improved theme application robustness to the
point of resetting custom theming options. Adding a decorations option
allows overriding its default value without it being reset.

This change also polishes the entire module.

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

Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-01-30 23:33:12 +01:00
NAHO
55418e8fc8
stylix: downgrade and lock base16-vim input (#811)
Closes: https://github.com/danth/stylix/issues/800
Fixes: a88c4d264a ("stylix: update all flake inputs (#774)")
Link: https://github.com/danth/stylix/pull/811

Tested-by: https://github.com/Limvot
Tested-by: https://github.com/alex-massa
2025-01-28 01:53:58 +01:00
awwpotato
e646a134db
waybar: fix typo (#810)
Link: https://github.com/danth/stylix/pull/810

Fixes: e81bd0cffa ("waybar: add addCss option (#804)")

Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-01-28 01:41:24 +01:00
awwpotato
e81bd0cffa
waybar: add addCss option (#804)
Closes: https://github.com/danth/stylix/issues/429
Link: https://github.com/danth/stylix/pull/804

Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-01-27 23:49:06 +01:00
Alex Friedman
6103431cd2
doc: Update tricks per tinted-theming schema changes (#792)
The tinted-theming repository has updated its scheme for themes such
that colors are located under the key `palette` [1] and such that each
color is # prefixed [2]. These changes update the documentation to
reflect this new schema.


[1]
4caed9a8f5
[2]
61058a8d2e
2025-01-26 22:28:40 +00:00
Mike Forster
d5f02b5410
ghostty: be consistent with other terminals (#806)
This uses the same color mapping as Alacritty [1], WezTerm [2], and
Kitty [5], and is consistent with mkSchemeAttrs [3] and base16-shell
[4].

[1]: /modules/alacritty/hm.nix
[2]: /modules/wezterm/hm.nix
[3]: https://github.com/SenchoPens/base16.nix/blob/main/DOCUMENTATION.md#mkschemeattrs
[4]: https://github.com/chriskempson/base16-shell
[5]: https://github.com/tinted-theming/tinted-kitty/blob/main/templates/base16.mustache

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

Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-01-26 21:42:11 +01:00
Lalit Yalamanchili
d6951d0b2f
vesktop: change theme location on nix-darwin (#784)
Link: https://github.com/danth/stylix/pull/784

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-01-26 04:12:00 +01:00
Daniel Thwaites
7c1c325928
ci: remove Magic Nix Cache (#745)
Magic Nix Cache will no longer work with the GitHub Actions cache
as of February 1st [1].

Temporarily removing this while we look into alternative solutions.

[1] https://determinate.systems/posts/magic-nix-cache-free-tier-eol/
2025-01-25 19:28:01 +00:00
NAHO
5e8be7521e
treewide: simplify and standardize message convention (#796) 2025-01-25 19:23:25 +00:00
NAHO
58b54b664b
doc: elaborate pre-commit hook usage in development environment (#793) 2025-01-25 19:21:13 +00:00
Ari
e594886eb0
nixcord: init (#767)
Link: https://github.com/danth/stylix/pull/767

Reviewed-by: Daniel Thwaites <danth@danth.me>
Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-01-23 19:42:09 +01:00
Daniel Thwaites
36c39ff014
gnome: fix foreground color of transparent panels (#788)
Fixes #380
2025-01-22 22:28:05 +00:00
LemmusLemmus
268daf22a1
eog: init (#781)
This simply sets the background color of Eye of GNOME when
an image is open.
2025-01-20 23:47:00 +00:00
bricked
6b69fd47fa
firefox: support floorp browser (#785)
Adds support for Floorp by adding it to the list of supported Firefox
derivations.
2025-01-20 21:19:13 +00:00