diff --git a/_sources/generated.json b/_sources/generated.json index d55972a6..fffbf69b 100644 --- a/_sources/generated.json +++ b/_sources/generated.json @@ -519,6 +519,26 @@ }, "version": "5ed4e8a6a20c928688da268dfcdf460ac9c3cb49" }, + "yazi": { + "cargoLocks": null, + "date": "2024-02-21", + "extract": null, + "name": "yazi", + "passthru": null, + "pinned": false, + "src": { + "deepClone": false, + "fetchSubmodules": false, + "leaveDotGit": false, + "name": null, + "owner": "catppuccin", + "repo": "yazi", + "rev": "0846aed69b2a62d29c98e100af0cf55ca729723d", + "sha256": "sha256-2T41qWMe++3Qxl9veRNHMeRI3eU4+LAueKTss02gYNk=", + "type": "github" + }, + "version": "0846aed69b2a62d29c98e100af0cf55ca729723d" + }, "zathura": { "cargoLocks": null, "date": "2024-04-04", diff --git a/_sources/generated.nix b/_sources/generated.nix index cbec462d..abe9cca0 100644 --- a/_sources/generated.nix +++ b/_sources/generated.nix @@ -313,6 +313,18 @@ }; date = "2024-03-30"; }; + yazi = { + pname = "yazi"; + version = "0846aed69b2a62d29c98e100af0cf55ca729723d"; + src = fetchFromGitHub { + owner = "catppuccin"; + repo = "yazi"; + rev = "0846aed69b2a62d29c98e100af0cf55ca729723d"; + fetchSubmodules = false; + sha256 = "sha256-2T41qWMe++3Qxl9veRNHMeRI3eU4+LAueKTss02gYNk="; + }; + date = "2024-02-21"; + }; zathura = { pname = "zathura"; version = "0adc53028d81bf047461bc61c43a484d11b15220"; diff --git a/modules/home-manager/yazi.nix b/modules/home-manager/yazi.nix new file mode 100644 index 00000000..245a5975 --- /dev/null +++ b/modules/home-manager/yazi.nix @@ -0,0 +1,18 @@ +{ config +, lib +, sources +, ... +}: +let + inherit (lib) ctp; + cfg = config.programs.yazi.catppuccin; + enable = cfg.enable && config.programs.yazi.enable; +in +{ + options.programs.yazi.catppuccin = + ctp.mkCatppuccinOpt "yazi"; + + config = lib.mkIf enable { + programs.yazi.theme = lib.importTOML "${sources.yazi}/themes/${cfg.flavour}.toml"; + }; +} diff --git a/nvfetcher.toml b/nvfetcher.toml index a200f0d0..2b89e54c 100644 --- a/nvfetcher.toml +++ b/nvfetcher.toml @@ -102,6 +102,10 @@ fetch.github = "catppuccin/swaylock" src.git = "https://github.com/catppuccin/tmux.git" fetch.github = "catppuccin/tmux" +[yazi] +src.git = "https://github.com/catppuccin/yazi.git" +fetch.github = "catppuccin/yazi" + [zathura] src.git = "https://github.com/catppuccin/zathura.git" fetch.github = "catppuccin/zathura" diff --git a/test.nix b/test.nix index 8525f1df..8d31ab17 100644 --- a/test.nix +++ b/test.nix @@ -75,6 +75,7 @@ in starship = ctpEnable; swaylock = ctpEnable; tmux = ctpEnable; + yazi = ctpEnable; zathura = ctpEnable; };