13 lines
368 B
Nix
13 lines
368 B
Nix
{ config, lib, ... }:
|
|
let
|
|
inherit (config.catppuccin) sources;
|
|
cfg = config.programs.imv.catppuccin;
|
|
enable = cfg.enable && config.programs.imv.enable;
|
|
in
|
|
{
|
|
options.programs.imv.catppuccin = lib.ctp.mkCatppuccinOpt { name = "imv"; };
|
|
|
|
config.programs.imv.settings = lib.mkIf enable (
|
|
lib.ctp.fromINI (sources.imv + "/themes/${cfg.flavor}.config")
|
|
);
|
|
}
|