fix(styling): configure icon theme through stylix #560

Merged
jalil merged 1 commit from push-stnksynwmvsv into renovate/lock-file-maintenance 2025-07-05 10:20:26 +02:00
Showing only changes of commit 6bd939bfa5 - Show all commits

View file

@ -16,10 +16,6 @@ let
size = 48; size = 48;
name = "Nordzy-cursors"; name = "Nordzy-cursors";
}; };
iconTheme = {
name = "Papirus-Dark";
package = pkgs.papirus-icon-theme;
};
in in
{ {
imports = [ imports = [
@ -134,7 +130,6 @@ in
fuzzel = { fuzzel = {
enable = true; enable = true;
settings.main = lib.mkIf config.jhome.styling.enable { settings.main = lib.mkIf config.jhome.styling.enable {
icon-theme = "Papirus-Dark";
inherit (cfg) terminal; inherit (cfg) terminal;
layer = "overlay"; layer = "overlay";
}; };
@ -231,6 +226,12 @@ in
# Set cursor style # Set cursor style
inherit cursor; inherit cursor;
targets.firefox.profileNames = [ config.home.username ]; 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 ( home.pointerCursor = lib.mkIf config.jhome.styling.enable (
lib.mkDefault { lib.mkDefault {
@ -241,7 +242,6 @@ in
# Set Gtk theme # Set Gtk theme
gtk = lib.mkIf config.jhome.styling.enable { gtk = lib.mkIf config.jhome.styling.enable {
enable = true; enable = true;
inherit iconTheme;
gtk3.extraConfig.gtk-application-prefer-dark-theme = 1; gtk3.extraConfig.gtk-application-prefer-dark-theme = 1;
gtk4.extraConfig.gtk-application-prefer-dark-theme = 1; gtk4.extraConfig.gtk-application-prefer-dark-theme = 1;
}; };