From fd8f675cdb109e8d7b212f6a963c085e1128a166 Mon Sep 17 00:00:00 2001 From: Evie Litherland-Smith Date: Wed, 4 Dec 2024 06:45:47 +0000 Subject: [PATCH] Set Papirus variant based on theme variant --- system/desktop.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/system/desktop.nix b/system/desktop.nix index f6f12ba8..54de8b07 100644 --- a/system/desktop.nix +++ b/system/desktop.nix @@ -143,7 +143,7 @@ gtk2.configLocation = "${config.xdg.configHome}/gtk-2.0/gtkrc"; iconTheme = { package = (pkgs.papirus-icon-theme.override { color = "magenta"; }); - name = "Papirus-Light"; + name = if config.lib.stylix.scheme.variant == "light" then "Papirus-Light" else "Papirus-Dark"; }; }; stylix.targets.gtk.extraCss = with config.lib.stylix.scheme.withHashtag; ''