Skip to content

Commit

Permalink
refactor(home-manager/yazi): remove importTOML
Browse files Browse the repository at this point in the history
  • Loading branch information
isabelroses committed Jan 4, 2025
1 parent 97b00ef commit 69b1780
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions modules/home-manager/yazi.nix
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,10 @@ in
};

config = lib.mkIf enable {
programs.yazi = {
theme = lib.importTOML "${sources.yazi}/${cfg.flavor}/catppuccin-${cfg.flavor}-${cfg.accent}.toml";
};

xdg.configFile = {
"yazi/theme.toml".source =
"${sources.yazi}/${cfg.flavor}/catppuccin-${cfg.flavor}-${cfg.accent}.toml";

"yazi/Catppuccin-${cfg.flavor}.tmTheme".source =
"${sources.bat}/Catppuccin ${catppuccinLib.mkUpper cfg.flavor}.tmTheme";
};
Expand Down

0 comments on commit 69b1780

Please sign in to comment.