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