Skip to content

Commit

Permalink
fix(bat): match refactors in source
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanccn committed Mar 17, 2024
1 parent d4c0e28 commit e0f0468
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.strings.toUpper (builtins.substring 0 1 cfg.flavour)}${builtins.substring 1 999 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 e0f0468

Please sign in to comment.