diff --git a/_sources/generated.json b/_sources/generated.json index a7955367..2bac4b83 100644 --- a/_sources/generated.json +++ b/_sources/generated.json @@ -199,6 +199,26 @@ }, "version": "fc228737d3d0c12e34a7fa155a0fc3192e5e4017" }, + "imv": { + "cargoLocks": null, + "date": "2024-01-17", + "extract": null, + "name": "imv", + "passthru": null, + "pinned": false, + "src": { + "deepClone": false, + "fetchSubmodules": false, + "leaveDotGit": false, + "name": null, + "owner": "catppuccin", + "repo": "imv", + "rev": "0317a097b6ec8122b1da6d02f61d0c5158019f6e", + "sha256": "sha256-n6obxM5iVSOdlGdI8ZEmYuxudarLoZHqGETrpTcdrok=", + "type": "github" + }, + "version": "0317a097b6ec8122b1da6d02f61d0c5158019f6e" + }, "kitty": { "cargoLocks": null, "date": "2024-01-10", diff --git a/_sources/generated.nix b/_sources/generated.nix index b960d2c7..8cdb13ed 100644 --- a/_sources/generated.nix +++ b/_sources/generated.nix @@ -121,6 +121,18 @@ }; date = "2023-12-15"; }; + imv = { + pname = "imv"; + version = "0317a097b6ec8122b1da6d02f61d0c5158019f6e"; + src = fetchFromGitHub { + owner = "catppuccin"; + repo = "imv"; + rev = "0317a097b6ec8122b1da6d02f61d0c5158019f6e"; + fetchSubmodules = false; + sha256 = "sha256-n6obxM5iVSOdlGdI8ZEmYuxudarLoZHqGETrpTcdrok="; + }; + date = "2024-01-17"; + }; kitty = { pname = "kitty"; version = "d7d61716a83cd135344cbb353af9d197c5d7cec1"; diff --git a/modules/home-manager/imv.nix b/modules/home-manager/imv.nix new file mode 100644 index 00000000..88bab81c --- /dev/null +++ b/modules/home-manager/imv.nix @@ -0,0 +1,16 @@ +{ config +, lib +, sources +, ... +}: +let + cfg = config.programs.imv.catppuccin; + enable = cfg.enable && config.programs.imv.enable; +in +{ + options.programs.imv.catppuccin = + lib.ctp.mkCatppuccinOpt "imv"; + + config.programs.imv.settings = lib.mkIf enable + (lib.ctp.fromINI (sources.imv + /themes/${cfg.flavour}.config)); +} diff --git a/nvfetcher.toml b/nvfetcher.toml index b5007bc0..909abdd2 100644 --- a/nvfetcher.toml +++ b/nvfetcher.toml @@ -38,6 +38,10 @@ fetch.github = "catppuccin/helix" src.git = "https://github.com/catppuccin/hyprland.git" fetch.github = "catppuccin/hyprland" +[imv] +src.git = "https://github.com/catppuccin/imv.git" +fetch.github = "catppuccin/imv" + [kitty] src.git = "https://github.com/catppuccin/kitty.git" fetch.github = "catppuccin/kitty" diff --git a/test.nix b/test.nix index a9e59165..944e5735 100644 --- a/test.nix +++ b/test.nix @@ -62,6 +62,7 @@ in glamour.catppuccin.enable = true; helix = ctpEnable; home-manager.enable = false; + imv = ctpEnable; kitty = ctpEnable; lazygit = ctpEnable; micro = ctpEnable;