From 03b95cad3bbeb9913db6d89dc3f4fccc6c8fcbd4 Mon Sep 17 00:00:00 2001 From: Ryan Cao <70191398+ryanccn@users.noreply.github.com> Date: Sun, 17 Mar 2024 16:16:41 +0800 Subject: [PATCH] fix(home-manager): match refactors in bat source (#91) --- modules/home-manager/bat.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/home-manager/bat.nix b/modules/home-manager/bat.nix index ac88fdd..e45e803 100644 --- a/modules/home-manager/bat.nix +++ b/modules/home-manager/bat.nix @@ -6,7 +6,7 @@ let cfg = config.programs.bat.catppuccin; enable = cfg.enable && config.programs.bat.enable; - themeName = "Catppuccin-${cfg.flavour}"; + themeName = "Catppuccin ${lib.ctp.mkUpper cfg.flavour}"; in { options.programs.bat.catppuccin = @@ -18,7 +18,7 @@ in themes.${themeName} = { src = sources.bat; - file = "${themeName}.tmTheme"; + file = "themes/${themeName}.tmTheme"; }; }; };