fix(home-manager): add file for yazi syntax highlighting (#119)
This commit is contained in:
parent
d2f4a13bd9
commit
e69bd64bac
1 changed files with 5 additions and 0 deletions
|
@ -13,6 +13,11 @@ in
|
|||
ctp.mkCatppuccinOpt "yazi";
|
||||
|
||||
config = lib.mkIf enable {
|
||||
assertions = [
|
||||
(lib.ctp.assertXdgEnabled "yazi")
|
||||
];
|
||||
|
||||
programs.yazi.theme = lib.importTOML "${sources.yazi}/themes/${cfg.flavour}.toml";
|
||||
xdg.configFile."yazi/Catppuccin-${cfg.flavour}.tmTheme".source = "${sources.bat}/themes/Catppuccin ${ctp.mkUpper cfg.flavour}.tmTheme";
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue