2024-05-21 14:53:46 -07:00
|
|
|
{ config, lib, ... }:
|
2023-07-13 09:17:51 -07:00
|
|
|
let
|
|
|
|
inherit (lib) ctp;
|
|
|
|
cfg = config.programs.kitty.catppuccin;
|
|
|
|
enable = cfg.enable && config.programs.kitty.enable;
|
|
|
|
in
|
|
|
|
{
|
2024-05-21 14:53:46 -07:00
|
|
|
options.programs.kitty.catppuccin = ctp.mkCatppuccinOpt "kitty";
|
2023-04-15 16:46:20 -07:00
|
|
|
|
2024-05-21 17:23:55 -07:00
|
|
|
config.programs.kitty = lib.mkIf enable { theme = "Catppuccin-${ctp.mkUpper cfg.flavor}"; };
|
2023-04-15 16:46:20 -07:00
|
|
|
}
|