From d1a86758db35e6aafe7df536b8144132d3a03ef3 Mon Sep 17 00:00:00 2001 From: ajmasia Date: Mon, 1 Jul 2024 13:01:34 +0200 Subject: [PATCH 1/2] fix tweaks norlma maping string --- modules/home-manager/gtk.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/home-manager/gtk.nix b/modules/home-manager/gtk.nix index b0fbf524..8805dd85 100644 --- a/modules/home-manager/gtk.nix +++ b/modules/home-manager/gtk.nix @@ -122,7 +122,7 @@ in gtk.theme = let gtkTweaks = concatStringsSep "," ( - map (tweak: { normal = "default"; }.${tweak} or tweak) cfg.tweaks + map (tweak: { normal = "normal"; }.${tweak} or tweak) cfg.tweaks ); in { From ca92a34466a6d84c36c30dc630e5de5516878014 Mon Sep 17 00:00:00 2001 From: ajmasia Date: Mon, 1 Jul 2024 13:58:38 +0200 Subject: [PATCH 2/2] improve new new setting from comment recomendation --- modules/home-manager/gtk.nix | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/modules/home-manager/gtk.nix b/modules/home-manager/gtk.nix index 8805dd85..2f02c9b4 100644 --- a/modules/home-manager/gtk.nix +++ b/modules/home-manager/gtk.nix @@ -121,9 +121,7 @@ in (mkIf enable { gtk.theme = let - gtkTweaks = concatStringsSep "," ( - map (tweak: { normal = "normal"; }.${tweak} or tweak) cfg.tweaks - ); + gtkTweaks = concatStringsSep "," cfg.tweaks; in { name = "catppuccin-${cfg.flavor}-${cfg.accent}-${cfg.size}+${gtkTweaks}";