From dd6003556c113bf777586c63d98a629590c87ebe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kha=C3=AFs=20COLIN?= Date: Mon, 29 Jul 2024 13:18:46 +0200 Subject: [PATCH] stylix: fix wallpaper set error when not running under kde Downsides: this means that there will be no theming for KDE QT Apps Also switch theme polarity to light --- home-manager/stylix.nix | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/home-manager/stylix.nix b/home-manager/stylix.nix index b5fac4e..40d8ea9 100644 --- a/home-manager/stylix.nix +++ b/home-manager/stylix.nix @@ -1,5 +1,11 @@ { - stylix.enable = true; - stylix.image = ./wallpapers/suzume_door.png; - stylix.polarity = "dark"; + stylix = { + enable = true; + image = ./wallpapers/suzume_door.png; + polarity = "light"; + + # fix wallpaper set error when not running under kde plasma + # see https://github.com/danth/stylix/issues/340 + targets.kde.enable = false; + }; }