From 92e2d7ae880cd77677be66af2e77b2bc6b74f4fa Mon Sep 17 00:00:00 2001 From: Isabel Date: Sun, 30 Jun 2024 14:43:01 +0100 Subject: [PATCH] fix(home-manager/gtk): replace `normal` tweak with `default` (#261) --- modules/home-manager/gtk.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/modules/home-manager/gtk.nix b/modules/home-manager/gtk.nix index 2f02c9b..b0fbf52 100644 --- a/modules/home-manager/gtk.nix +++ b/modules/home-manager/gtk.nix @@ -121,7 +121,9 @@ in (mkIf enable { gtk.theme = let - gtkTweaks = concatStringsSep "," cfg.tweaks; + gtkTweaks = concatStringsSep "," ( + map (tweak: { normal = "default"; }.${tweak} or tweak) cfg.tweaks + ); in { name = "catppuccin-${cfg.flavor}-${cfg.accent}-${cfg.size}+${gtkTweaks}";