Skip to content

Commit 3d4d3d7

Browse files
authored
Merge pull request #4 from lemonknife/yazi
feat: add yazi tokyonight theme
2 parents 5ecd0a6 + bdd41de commit 3d4d3d7

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

modules/home-manager/yazi.nix

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{ inputs, config, lib, ... }:
2+
let cfg = config.programs.yazi.tokyonight;
3+
in {
4+
options.programs.yazi.tokyonight = lib.tn.mkTokyonightOpt "tokyonight yazi";
5+
config = lib.mkMerge [
6+
(lib.mkIf cfg.enable {
7+
programs.yazi = {
8+
theme = lib.importTOML
9+
"${inputs.tokyonight}/extras/yazi/tokyonight_${cfg.style}.toml";
10+
};
11+
})
12+
];
13+
}

0 commit comments

Comments
 (0)