From a053c9a50e3120f1b8b85953c2fd96d5ccab62a2 Mon Sep 17 00:00:00 2001 From: m3ta-chiron Date: Mon, 1 Jun 2026 20:01:21 +0200 Subject: [PATCH] fix: use dark GTK theme variant --- profiles/contexts/desktop/theme/theme.nix | 9 ++++++--- profiles/contexts/desktop/wm/hyprland.nix | 1 - 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/profiles/contexts/desktop/theme/theme.nix b/profiles/contexts/desktop/theme/theme.nix index 7cc01df..fc8a512 100644 --- a/profiles/contexts/desktop/theme/theme.nix +++ b/profiles/contexts/desktop/theme/theme.nix @@ -1,4 +1,4 @@ -# GTK and Qt theming — Dracula theme with matching icons and cursor. +# GTK and Qt theming — system-wide dark Adwaita/libadwaita-compatible theme. { pkgs, config, @@ -13,11 +13,14 @@ enable = true; colorScheme = "dark"; theme = { - name = "Adwaita"; + # Must match a directory in pkgs.adw-gtk3/share/themes. + # "Adwaita" is not provided by this package and makes GTK4 import + # a missing CSS file; use the explicit dark variant instead. + name = "adw-gtk3-dark"; package = pkgs.adw-gtk3; }; iconTheme = { - name = "Papirus"; + name = "Papirus-Dark"; package = pkgs.papirus-icon-theme; }; gtk4.theme = config.gtk.theme; diff --git a/profiles/contexts/desktop/wm/hyprland.nix b/profiles/contexts/desktop/wm/hyprland.nix index d325e4d..387cb15 100644 --- a/profiles/contexts/desktop/wm/hyprland.nix +++ b/profiles/contexts/desktop/wm/hyprland.nix @@ -29,7 +29,6 @@ in { "XCURSOR_SIZE,32" "HYPRCURSOR_THEME,Bibata-Modern-Ice" "WLR_NO_HARDWARE_CURSORS,1" - "GTK_THEME,Dracula" "XDG_CURRENT_DESKTOP,Hyprland" "XDG_SESSION_TYPE,wayland" "XDG_SESSION_DESKTOP,Hyprland"