Commit graph

14 commits

Author SHA1 Message Date
NAHO
dfc859f54d
treewide: optionalize mkTarget's humanName and name arguments
Optionalize mkTarget's 'humanName' and 'name' arguments by inferring
'humanName' from the 'name' attribute in the /modules/<MODULE>/meta.nix
file, and 'name' from the /modules/<NAME>/ directory name.

Inferring the 'humanName' and 'name' arguments ensures consistency and
reduces boilerplate.

The 'humanName' and 'name' arguments are optionalized instead of removed
because complex modules generating target derivations need to
distinguish between them.

Closes: https://github.com/nix-community/stylix/issues/1661
2025-12-10 14:48:37 +01:00
NAHO
16df6b8448
treewide: rename mkTarget's configElements and extraOptions options
Rename mkTarget's 'configElements' argument to 'config' and
'extraOptions' to 'options' to provide a more transparent interface with
the underlying Nixpkgs module system.
2025-12-10 14:48:20 +01:00
NAHO
7b9a528d6c
treewide: replace builtins.toString with toString (#1657)
Link: https://github.com/nix-community/stylix/pull/1657

Reviewed-by: awwpotato <awwpotato@voidq.com>
2025-07-09 08:01:21 -07:00
Flameopathic
ad592a0e99
wezterm: use mkTarget (#1472)
Link: https://github.com/nix-community/stylix/pull/1472

Reviewed-by: Daniel Thwaites <danth@danth.me>
Reviewed-by: awwpotato <awwpotato@voidq.com>
Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-06-15 13:57:02 +02:00
Adam M. Szalkowski
de0870f075
wezterm: adapt for breaking change in hm (#1182)
Link: https://github.com/danth/stylix/pull/1182

Reviewed-by: awwpotato <awwpotato@voidq.com>
Tested-by: https://github.com/NovaViper
2025-04-29 08:37:43 -07:00
awwpotato
c8bc1c1d9e
treewide: remove use of multiple with statements (#1085) 2025-04-08 23:22:18 +01:00
awwpotato
ff9ae322bc
treewide: clean up with and stuff (#975)
Fixes #973
2025-03-18 12:10:02 +00: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
William
eccb9f2d63
wezterm: support fancy_tab_bar (#564)
By default, the fancy tabbar doesn't respect colorschemes, see
https://github.com/wez/wezterm/issues/2615. But I've found that if you
set the tabbar colors in the config.lua in addition to the
colors/stylix.toml file, the fancy tabbar does respect the colors set.

This change doesn't affect the retro tab theming, which I made sure to
test.
2024-09-23 13:12:11 +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
Jalil David Salamé Messina
7e62834e25
wezterm: flip active and inactive tab colors (#246)
This makes it easier to tell which tab is the active tab.
2024-02-07 23:24:10 +00:00
László Vaskó
9bc1900b68
Fix color consistency in WezTerm (#209)
There was an off-by-one shift in the ANSI palette. This change makes
it be in sync with base16-kitty and base16-alacritty generators.
2024-01-03 19:01:20 +00:00
x0ba
71c2eb2214
Fix cursor foreground in WezTerm (#177) 2023-10-22 18:13:26 +00:00
Michael McCandless
fea4469ce1
Added WezTerm Support (#119) 2023-07-07 12:20:22 +01:00