2024-05-21 14:53:46 -07:00
|
|
|
{ config, lib, ... }:
|
2024-04-07 02:42:34 -07:00
|
|
|
let
|
2024-05-13 13:33:16 -07:00
|
|
|
inherit (config.catppuccin) sources;
|
2024-04-07 02:42:34 -07:00
|
|
|
cfg = config.programs.imv.catppuccin;
|
|
|
|
enable = cfg.enable && config.programs.imv.enable;
|
|
|
|
in
|
|
|
|
{
|
2024-05-21 14:53:46 -07:00
|
|
|
options.programs.imv.catppuccin = lib.ctp.mkCatppuccinOpt "imv";
|
2024-04-07 02:42:34 -07:00
|
|
|
|
2024-05-21 14:53:46 -07:00
|
|
|
config.programs.imv.settings = lib.mkIf enable (
|
|
|
|
lib.ctp.fromINI (sources.imv + /themes/${cfg.flavour}.config)
|
|
|
|
);
|
2024-04-07 02:42:34 -07:00
|
|
|
}
|