Skip to content

Commit

Permalink
fix(home-manager): match refactors in bat source (#91)
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanccn authored Mar 17, 2024
1 parent d4c0e28 commit 03b95ca
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/home-manager/bat.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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 =
Expand All @@ -18,7 +18,7 @@ in

themes.${themeName} = {
src = sources.bat;
file = "${themeName}.tmTheme";
file = "themes/${themeName}.tmTheme";
};
};
};
Expand Down

0 comments on commit 03b95ca

Please sign in to comment.