Skip to content

Commit e973584

Browse files
authored
Respect catppuccin.fcitx5.apply (#820)
1 parent e713507 commit e973584

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

modules/home-manager/fcitx5.nix

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,9 @@ in
4141
addons = [
4242
(sources.fcitx5.override { inherit (cfg) enableRounded; })
4343
];
44-
settings.addons.classicui.globalSection.Theme = "catppuccin-${cfg.flavor}-${cfg.accent}";
44+
settings.addons = lib.mkIf cfg.apply {
45+
classicui.globalSection.Theme = "catppuccin-${cfg.flavor}-${cfg.accent}";
46+
};
4547
};
4648
};
4749
}

0 commit comments

Comments
 (0)