Commit graph

353 commits

Author SHA1 Message Date
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
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
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
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
NAHO
5e8be7521e
treewide: simplify and standardize message convention (#796) 2025-01-25 19:23:25 +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
bricked
51ad2cec11
cavalier: init (#758)
Link: https://github.com/danth/stylix/pull/758

Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
Reviewed-by: awwpotato <153149335+awwsomepotato@users.noreply.github.com>
2025-01-18 14:44:33 +01:00
hazel
e00ed7e7f4
wpaperd: fix image scaling modes (#710)
Previously, the fill image scaling mode in wpaperd was mapped to its fit
mode, which scales the image to fit within the screen without cropping.
The behavior is now updated to use wpaperd's center mode instead,
aligning more closely with swaybg's fill mode. [1]

[1]: b0b7e66fd3/README.md (wallpaper-configuration)

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

Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-01-18 12:36:18 +01:00
uima
965d1cb7c8
zathura: set background opacity with stylix.opacity.applications (#770)
Link: https://github.com/danth/stylix/pull/770

Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-01-14 20:14:56 +01:00
Oliver Jõgar
934e2bfe79
vencord: init (#768)
Initialize the Vencord module and move the Vesktop template into the
Vencord module, as Vesktop is built on top of Vencord.

Closes: https://github.com/danth/stylix/issues/757
Link: https://github.com/danth/stylix/pull/768

Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-01-13 15:51:04 +01:00
musjj
f1e003194c
zed: convert font sizes from pt to px (#766)
Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-01-10 18:28:33 +01:00
NAHO
a8399897e8
treewide: remove redundant empty line in testbeds (#760)
Link: https://github.com/danth/stylix/pull/760
2025-01-08 02:30:39 +01:00
awwpotato
6d9867604e
treewide: reduce indentation level with lib.singleton (#754)
Reduce the indentation level with lib.singleton, as recommended by RFC 0166. [1]

[1]: 25c3f52463/rfcs/0166-nix-formatting.md (singleton-lists)

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

Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-01-08 02:01:45 +01:00
Kilian Mio
5c84f02fcf
regreet: respect dark mode and unset extraCss for custom styling (#723)
Respect the stylix.polarity option and unset programs.regreet.extraCss
to enable custom styling.

This partially resolves the "ReGreet not using GTK or cursor theme" [1]
issue.

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

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

Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-01-07 19:35:34 +01:00
bricked
1d7b70ed9e
firefox: add firefoxGnomeTheme.enable option (#702)
Link: https://github.com/danth/stylix/pull/702

Tested-by: Daniel Thwaites <danth@danth.me>
Approved-by: Daniel Thwaites <danth@danth.me>
Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
Tested-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-01-06 23:18:49 +01:00
bricked
a6b53aa677
gnome-text-editor: init (#747)
Initialize the GNOME Text Editor with the Gedit module theme.

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

Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-01-06 16:57:17 +01:00
Floryan Simar
b47ef3b856
zed: init (#620)
Closes: https://github.com/danth/stylix/issues/348
Link: https://github.com/danth/stylix/pull/620

Co-authored-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-01-06 16:21:27 +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
NAHO
3c54cb3384
treewide: ignore unused arguments detected by deadnix
Link: https://github.com/danth/stylix/pull/519
2025-01-04 17:45:52 +01:00
NAHO
2256b7d74b
micro: init (#716)
Initialize the micro module.

Extending the 'simple' theme is possible by adding 'include "simple"' to the
user configuration. [1]

[1]: https://github.com/danth/stylix/issues/714#issuecomment-2569808086

Closes: https://github.com/danth/stylix/issues/714
Link: https://github.com/danth/stylix/pull/716

Approved-by: https://github.com/LemmusLemmus
Approved-by: https://github.com/matkijahenkilo
2025-01-04 16:34:27 +01:00
Didn't read the style guide
e0a41d3a25
kde: replace systemd unit with AutostartScript for theme application (#708)
Replace the systemd unit with a more robust AutostartScript for theme
application during Plasma startup, ensuring D-Bus and session
availability without breaking Home Manager activation.

Closes: https://github.com/danth/stylix/issues/340
Closes: https://github.com/danth/stylix/issues/350
Closes: https://github.com/danth/stylix/issues/422
Link: https://github.com/danth/stylix/pull/708

Co-authored-by: rkuklik <rkuklik@expect-it.cz>
Tested-by: lordkekz <lordkekz@lkekz.de>
Tested-by: rkuklik <rkuklik@expect-it.cz>
Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-01-03 20:50:01 +01:00
Sergei Zimmerman
0ce2a52dec
yazi: add testbed, resolve 0.4.0 breaking changes, and improve names (#719)
Add a testbed and resolve the 0.4.0 breaking changes [2] [3] [4].

Migrate the highlight colors to mnemonics with the following script to
improve readability and simplify the process of reusing upstream
templates [4]:

    colors_base=(
      "base08" "base09" "base0A" "base0B" "base0C" "base0D" "base0E"
      "base0F"
    )

    colors_name=(
      "red" "orange" "yellow" "green" "cyan" "blue" "magenta" "brown"
    )

    for i in "${!colors_base[@]}"; do
      sed \
        --in-place \
        "s/${colors_base[i]}/${colors_name[i]}/g" \
        modules/yazi/hm.nix
    done

[1]: https://github.com/sxyazi/yazi/issues/1772
[2]: https://github.com/sxyazi/yazi/pull/1927
[3]: https://github.com/sxyazi/yazi/pull/1953
[4]: https://github.com/yazi-rs/flavors/blob/main/scripts/catppuccin/template.toml

Closes: https://github.com/danth/stylix/issues/604
Closes: https://github.com/danth/stylix/issues/683
Link: https://github.com/danth/stylix/pull/719

Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-01-03 01:27:46 +01:00
Mirza Arnaut
6eb0597e34
ghostty: init (#703)
Link: https://github.com/danth/stylix/pull/703

Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-01-02 20:01:16 +01:00
Louis Dalibard
911c07f40f
fctix5: init (#718)
Link: https://github.com/danth/stylix/pull/718

Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-01-01 21:48:24 +01:00
Daniel Thwaites
a4ed4168fb
foot: update desktop file name in testbed (#707)
This was recently changed upstream [1].

[1]: c8185aec1d
2024-12-30 03:13:08 +01:00
Daniel Thwaites
71eea3f02a
treewide: add application testbeds (#612)
Extend testbeds with individual GUI applications beyond DEs, offering the
following benefits:

- Preview PRs without changing your real configuration by running:

    nix run github:«owner»/«repository»/«branch»#testbed-«application»-«polarity»'

- Unlike local installations, testbeds reset their filesystem between rebuilds,
  ensuring each test simulates a fresh installation to identify cases requiring
  manual steps for module effectiveness.

- Enhances CI to test that configurations evaluate correctly when a module is
  enabled. The extent to which this confirms that the configuration actually
  works can vary depending on the upstream implementation of the module.

The application testbeds are currently based on GNOME but could be replaced with
a lightweight compositor like Cage [1] in the future. GNOME was chosen for the
time being due to preconfigured services, such as a secret service [2], which
some applications require.

[1]: https://github.com/cage-kiosk/cage?tab=readme-ov-file#cage-a-wayland-kiosk
[2]: https://specifications.freedesktop.org/secret-service-spec/latest
2024-12-29 22:51:00 +00:00
bricked
963e77a3a4
gtk: add support for theming Flatpak applications (#693)
Add support for theming Flatpak applications by making the GTK theme
accessible to them. [1]

[1]: https://itsfoss.com/flatpak-app-apply-theme

Closes: https://github.com/danth/stylix/issues/465
Link: https://github.com/danth/stylix/pull/693

Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
Tested-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2024-12-26 23:53:19 +01:00
bricked
079fecebad
firefox: leverage Home Manager's mkFirefoxModule pattern (#695)
Leverage Home Manager's mkFirefoxModule pattern introduced in commit
792757f643ce [1] ("firefox: support firefox derivatives").

[1]: 792757f643

Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
Tested-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2024-12-25 19:24:28 +01:00
NAHO
4d87b96cec
stylix: support float font sizes (#692)
Link: https://github.com/danth/stylix/pull/692

Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
Tested-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2024-12-22 17:45:04 +01:00
musjj
aec7be45cf xresources: convert font size to a string
A hack necessary because of a home-manager limitation. It works because
numbers and strings are serialized the same way for .Xresources. It
should be reverted after this issue is addressed upstream.
2024-12-22 23:09:50 +07:00
bricked
be3a33d589
cava: add rainbow theme option (#638)
Link: https://github.com/danth/stylix/pull/638

Co-authored-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
Tested-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2024-12-22 17:09:05 +01:00
musjj
4f489c6393
vscode: don't round font sizes (#691)
Link: https://github.com/danth/stylix/pull/691

Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2024-12-22 00:04:56 +01:00
Devin
a2d66f2547
treewide: extend stylix.imageScalingMode support
Add stylix.imageScalingMode support to all modules except:

- hyprlock
- hyprpaper
- kde
- lightdm
- sway

Closes: https://github.com/danth/stylix/issues/677
Link: https://github.com/danth/stylix/pull/678

Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
Reviewed-by: Daniel Thwaites <danth@danth.me>
2024-12-18 15:15:36 +01:00
awwpotato
a9e3779949
librewolf: init (#679)
Link: https://github.com/danth/stylix/pull/679

Co-authored-by: Daniel Thwaites <danth@danth.me>
Co-authored-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2024-12-13 18:16:08 +01:00
Alice Carroll
bc25f3d69d
emacs: set font for all frames, not just for new ones (#656)
The existing solution does not work on macOS for some reason.

Reviewed-by: Daniel Thwaites <danthwaites30@btinternet.com>
Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2024-12-10 20:29:57 +01:00
NAHO
9f019b78fd
vscode: font sizes (#667)
Link: https://github.com/danth/stylix/pull/667

Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2024-12-10 13:56:05 +01:00
Flameopathic
23d9debfdc vscode: extensive fonts 2024-12-09 13:04:38 -05:00