Commit graph

30 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
0xda157
3a332459f4
treewide: use strict mode for nixfmt (#2041)
Link: https://github.com/nix-community/stylix/pull/2041
Link: https://github.com/nix-community/stylix/pull/1976#discussion_r2539186937

Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-12-05 16:05:09 -08:00
NAHO
628e990dde
treewide: apply Nixpkgs update
Fixes: efd80454b4 ("flake: update nixpkgs input")

Co-authored-by: 0xda157 <da157@voidq.com>
2025-11-17 16:08:01 +01:00
Florian Peter
2de90e0ab1
waybar: improve tooltip label contrast (#1919)
Link: https://github.com/nix-community/stylix/pull/1919

Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
Reviewed-by: awwpotato <awwpotato@voidq.com>
2025-10-04 09:17:33 -07:00
awwpotato
52804c7c81
waybar: add testbed (#1712)
Link: https://github.com/nix-community/stylix/pull/1712

Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-07-17 12:56:53 +02:00
awwpotato
4add678fe3
stylix: do not check lambda pattern names with deadnix (#1689)
Link: https://github.com/nix-community/stylix/pull/1689
Reverts: c117edd7ee ("stylix: allow underscore in mkTarget configElements args (#1473)")

Reviewed-by: Matt Sturgeon <matt@sturgeon.me.uk>
Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-07-15 18:26:38 +02: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
Kanade
37b8c5f680
waybar: fix attribute 'default' missing (#1541) 2025-06-25 15:49:11 +01:00
awwpotato
9194dd8442
waybar: use mkTarget (#1337) 2025-06-24 15:18:19 +01:00
Julian Hauser
4a121321d3
waybar: add bluetooth configuration (#1412)
Co-authored-by: jghauser <julianhauser.com>
2025-05-29 10:57:12 -07:00
Matt Sturgeon
ba217a8128
flake: use biome formatter for JSON and CSS (#1394)
Link: https://github.com/nix-community/stylix/pull/1394

Reviewed-by: awwpotato <awwpotato@voidq.com>
Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-05-28 17:55:09 +02:00
Flameopathic
e2fe2df9b0
doc: restructure module rendering (#1083) 2025-05-18 14:09:50 +01:00
NAHO
6d16807fc5
Merge branch 'master' into treewide-init-maintainers 2025-04-13 19:59:13 +02:00
Flameopathic
82f67a36eb
doc: align module capitalization (#1115)
Closes: https://github.com/danth/stylix/issues/1084
Link: https://github.com/danth/stylix/pull/1115

Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
Reviewed-by: Daniel Thwaites <danth@danth.me>
Reviewed-by: awwpotato <153149335+awwpotato@users.noreply.github.com>
2025-04-10 08:45:51 +02:00
awwpotato
292ac3a930
treewide: add awwpotato as maintainer (#1021) 2025-03-19 20:49:09 +01:00
awwpotato
e43eb4e2a7
stylix: init module maintainers framework (#977)
Initialize module maintainers framework to streamline the future
population of module maintainers [1].

[1]: https://github.com/danth/stylix/issues/275

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

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-03-14 19:29:51 +01:00
awwpotato
a742ba739b
waybar: add font option and change default to monospace (#972)
Add font option and change its default to monospace, and reduce the
scope of the 'with' keyword.

Closes: https://github.com/danth/stylix/issues/956
Link: https://github.com/danth/stylix/pull/972

Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-03-10 16:55:50 +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
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
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
Patrick Teubner
659dd55a32
waybar: put font-family string in quotes (#391)
Using 0xProto as font-family breaks waybars style.css (`Expected a string`). This fixes it.
2024-05-28 12:19:54 +01:00
Daniel Thwaites
0fe277a364
treewide: remove lib.mdDoc (#349) 2024-04-22 22:25:40 +01:00
Jalil David Salamé Messina
17a452c5d5
Remove repetition of Waybar CSS (#192) 2023-12-02 15:59:24 +00:00
Jez Cope
5f7b55cc69
Change waybar font size to pt instead of px (#138) 2023-08-01 16:51:05 +01:00
Daniel Thwaites
0087f554ff
Adjust Waybar style 💄
* Specified that the font size is in pixels.
  (GTK warns about font sizes without units being deprecated.)
* Removed border-radius as it was set to the default value.
* Added support for tooltips.
2023-07-14 16:06:10 +01:00
Mason Dear
1c953ad0dc
Opacity support (#77) 2023-05-18 20:00:50 +01:00
Mason Dear
ca8b8a58c4
fix waybar modules (#76) 2023-03-31 18:54:20 +01:00
Mason Dear
d0658ebb8b
Add waybar and avizo (#72) 2023-03-29 08:51:33 +01:00