From b3ae9edc9064f769d50e6ea5b1995e2ecd9ef1e0 Mon Sep 17 00:00:00 2001 From: Yan Lin Date: Thu, 6 Nov 2025 06:51:15 +0100 Subject: [PATCH] theme fix --- modules/hyprland/home.nix | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/modules/hyprland/home.nix b/modules/hyprland/home.nix index 9430bad..3232aeb 100644 --- a/modules/hyprland/home.nix +++ b/modules/hyprland/home.nix @@ -97,7 +97,6 @@ "QT_IM_MODULE,fcitx" "XMODIFIERS,@im=fcitx" "GTK_THEME,Adwaita:dark" - "QT_QPA_PLATFORMTHEME,qt5ct" "XCURSOR_SIZE,24" "XCURSOR_THEME,Bibata-Modern-Ice" ]; @@ -359,13 +358,19 @@ # GTK theme settings (optional, for consistent theming) gtk = { enable = true; + theme = { + name = "Adwaita-dark"; + package = pkgs.gnome-themes-extra; + }; iconTheme = { name = "Papirus-Dark"; package = pkgs.papirus-icon-theme; }; gtk3.extraConfig = { + gtk-application-prefer-dark-theme = 1; }; gtk4.extraConfig = { + gtk-application-prefer-dark-theme = 1; }; };