gtk/hm: explicitly set gtk4.theme (#2330)

Explicitly set gtk4.theme to resolve upstream warnings, following
upstream commits [1] ("gtk4: don't enable theme by default") and [2]
("gtk: warn on gtk4 theme inheritance change").

[1]: ae9f38e889
[2]: d3281688bf

Closes: https://github.com/nix-community/stylix/issues/2250
Link: https://github.com/nix-community/stylix/pull/2330

Reviewed-by: Noah Biewesch <dev@noahbiewesch.com>
This commit is contained in:
0xda157 2026-06-03 06:00:02 -07:00 committed by GitHub
parent 879889a4e5
commit 2d8e4ce4b1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -60,6 +60,7 @@ mkTarget {
package = pkgs.adw-gtk3;
name = "adw-gtk3";
};
gtk.gtk4.theme = config.gtk.theme;
xdg.configFile = {
"gtk-3.0/gtk.css".source = finalCss;