From 7dc24373937cb3be83adfabcebbe2304eef3aae5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Charlotte=20=F0=9F=A6=9D=20Delenk?= Date: Mon, 25 Nov 2024 10:48:53 +0100 Subject: [PATCH] use breeze-dark icons and qt theme --- programs/stylix/default.nix | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/programs/stylix/default.nix b/programs/stylix/default.nix index acbab330..cf020643 100644 --- a/programs/stylix/default.nix +++ b/programs/stylix/default.nix @@ -111,14 +111,25 @@ in }; }; }; - qt.style = { - name = "breeze"; - package = pkgs.kdePackages.breeze; - }; } { stylix.targets.kde.enable = lib.mkForce (config.isGraphical && !config.isSway); } + ( + if config.isSway then + { + qt.style = { + name = "breeze-dark"; + package = pkgs.kdePackages.breeze; + }; + gtk.iconTheme = { + package = pkgs.kdePackages.breeze-icons; + name = "breeze-dark"; + }; + } + else + { } + ) ( if config.isGraphical && !config.isSway then { config, lib, ... }: