From 6bd939bfa502d0656921635cd28825586c0cb3d4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jalil=20David=20Salam=C3=A9=20Messina?= Date: Sat, 5 Jul 2025 10:17:46 +0200 Subject: [PATCH] fix(styling): configure icon theme through stylix Otherwise my own configuration conflicts with stylix's --- modules/hm/gui/default.nix | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/modules/hm/gui/default.nix b/modules/hm/gui/default.nix index 0e0bdf2..8c40e5a 100644 --- a/modules/hm/gui/default.nix +++ b/modules/hm/gui/default.nix @@ -16,10 +16,6 @@ let size = 48; name = "Nordzy-cursors"; }; - iconTheme = { - name = "Papirus-Dark"; - package = pkgs.papirus-icon-theme; - }; in { imports = [ @@ -134,7 +130,6 @@ in fuzzel = { enable = true; settings.main = lib.mkIf config.jhome.styling.enable { - icon-theme = "Papirus-Dark"; inherit (cfg) terminal; layer = "overlay"; }; @@ -231,6 +226,12 @@ in # Set cursor style inherit cursor; targets.firefox.profileNames = [ config.home.username ]; + iconTheme = { + enable = true; + light = "Papirus-Light"; + dark = "Papirus-Dark"; + package = pkgs.papirus-icon-theme; + }; }; home.pointerCursor = lib.mkIf config.jhome.styling.enable ( lib.mkDefault { @@ -241,7 +242,6 @@ in # Set Gtk theme gtk = lib.mkIf config.jhome.styling.enable { enable = true; - inherit iconTheme; gtk3.extraConfig.gtk-application-prefer-dark-theme = 1; gtk4.extraConfig.gtk-application-prefer-dark-theme = 1; };