fix(home-manager): match refactors in bat source (#91)
This commit is contained in:
parent
d4c0e280e4
commit
03b95cad3b
1 changed files with 2 additions and 2 deletions
|
@ -6,7 +6,7 @@
|
||||||
let
|
let
|
||||||
cfg = config.programs.bat.catppuccin;
|
cfg = config.programs.bat.catppuccin;
|
||||||
enable = cfg.enable && config.programs.bat.enable;
|
enable = cfg.enable && config.programs.bat.enable;
|
||||||
themeName = "Catppuccin-${cfg.flavour}";
|
themeName = "Catppuccin ${lib.ctp.mkUpper cfg.flavour}";
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
options.programs.bat.catppuccin =
|
options.programs.bat.catppuccin =
|
||||||
|
@ -18,7 +18,7 @@ in
|
||||||
|
|
||||||
themes.${themeName} = {
|
themes.${themeName} = {
|
||||||
src = sources.bat;
|
src = sources.bat;
|
||||||
file = "${themeName}.tmTheme";
|
file = "themes/${themeName}.tmTheme";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue