2023-07-13 09:17:51 -07:00
|
|
|
{ config
|
|
|
|
, lib
|
|
|
|
, ...
|
|
|
|
}:
|
|
|
|
let
|
|
|
|
inherit (lib) ctp;
|
|
|
|
cfg = config.programs.kitty.catppuccin;
|
|
|
|
enable = cfg.enable && config.programs.kitty.enable;
|
|
|
|
in
|
|
|
|
{
|
2023-04-17 09:44:07 -07:00
|
|
|
options.programs.kitty.catppuccin =
|
2023-11-02 10:55:47 -07:00
|
|
|
ctp.mkCatppuccinOpt "kitty";
|
2023-04-15 16:46:20 -07:00
|
|
|
|
2023-07-13 09:17:51 -07:00
|
|
|
config.programs.kitty =
|
|
|
|
lib.mkIf enable { theme = "Catppuccin-${ctp.mkUpper cfg.flavour}"; };
|
2023-04-15 16:46:20 -07:00
|
|
|
}
|