2024-05-21 14:53:46 -07:00
|
|
|
{ config, lib, ... }:
|
2024-04-29 11:15:58 -07:00
|
|
|
let
|
2024-05-13 13:33:16 -07:00
|
|
|
inherit (config.catppuccin) sources;
|
2024-04-29 11:15:58 -07:00
|
|
|
cfg = config.programs.tofi.catppuccin;
|
|
|
|
enable = cfg.enable && config.programs.tofi.enable;
|
|
|
|
in
|
|
|
|
{
|
2024-06-28 09:29:30 -07:00
|
|
|
options.programs.tofi.catppuccin = lib.ctp.mkCatppuccinOpt { name = "tofi"; };
|
2024-04-29 11:15:58 -07:00
|
|
|
|
|
|
|
config.programs.tofi = lib.mkIf enable {
|
2024-08-06 18:38:36 -07:00
|
|
|
settings.include = sources.tofi + "/themes/catppuccin-${cfg.flavor}";
|
2024-04-29 11:15:58 -07:00
|
|
|
};
|
|
|
|
}
|