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