diff --git a/settings/gnome.nix b/settings/gnome.nix index 4fa16b2..ae5861f 100644 --- a/settings/gnome.nix +++ b/settings/gnome.nix @@ -49,7 +49,7 @@ qt = { enable = true; - platformTheme = "gnome"; + platformTheme = "adwaita"; style = "adwaita-dark"; }; @@ -60,25 +60,21 @@ home-manager.users.fred = { config, lib, pkgs, ... }: { # Minimal titlebars — stylix manages the GTK theme; we layer our # headerbar shrink on top via programs.gtk.*.extraCss. - gtk = { - enable = true; - gtk3.extraCss = '' - headerbar { min-height: 0; padding: 0; margin: 0; } - headerbar .title { font-size: 0; } - ''; - gtk4.extraCss = '' - headerbar { min-height: 0; padding: 0; margin: 0; } - headerbar .title { font-size: 0; } - window:backdrop { - background-color: @window_bg_color; - color: @window_fg_color; - } - window:backdrop headerbar { - background-color: @headerbar_bg_color; - color: @headerbar_fg_color; - } - ''; - }; + gtk.enable = true; + # gtk.gtk3.extraCss / gtk4.extraCss are no-ops once stylix owns the + # theme — extra CSS has to go through stylix.targets.gtk.extraCss. + stylix.targets.gtk.extraCss = '' + headerbar { min-height: 0; padding: 0; margin: 0; } + headerbar .title { font-size: 0; } + window:backdrop { + background-color: @window_bg_color; + color: @window_fg_color; + } + window:backdrop headerbar { + background-color: @headerbar_bg_color; + color: @headerbar_fg_color; + } + ''; # GNOME dconf settings — stylix owns colour-scheme, gtk-theme, # cursor-theme and accent-color now.