feat(home-manager/fzf): add accent support (#331)
This commit is contained in:
parent
874e668dda
commit
45745fe596
1 changed files with 10 additions and 8 deletions
|
@ -7,7 +7,9 @@ let
|
||||||
palette = (lib.importJSON "${sources.palette}/palette.json").${cfg.flavor}.colors;
|
palette = (lib.importJSON "${sources.palette}/palette.json").${cfg.flavor}.colors;
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
options.programs.fzf.catppuccin = lib.ctp.mkCatppuccinOpt { name = "fzf"; };
|
options.programs.fzf.catppuccin = lib.ctp.mkCatppuccinOpt { name = "fzf"; } // {
|
||||||
|
accent = lib.ctp.mkAccentOpt "fzf";
|
||||||
|
};
|
||||||
|
|
||||||
config.programs.fzf.colors =
|
config.programs.fzf.colors =
|
||||||
lib.mkIf enable
|
lib.mkIf enable
|
||||||
|
@ -18,15 +20,15 @@ in
|
||||||
"bg+" = "surface0";
|
"bg+" = "surface0";
|
||||||
bg = "base";
|
bg = "base";
|
||||||
spinner = "rosewater";
|
spinner = "rosewater";
|
||||||
hl = "red";
|
hl = cfg.accent;
|
||||||
fg = "text";
|
fg = "text";
|
||||||
header = "red";
|
header = cfg.accent;
|
||||||
info = "mauve";
|
info = cfg.accent;
|
||||||
pointer = "rosewater";
|
pointer = cfg.accent;
|
||||||
marker = "rosewater";
|
marker = cfg.accent;
|
||||||
"fg+" = "text";
|
"fg+" = "text";
|
||||||
prompt = "mauve";
|
prompt = cfg.accent;
|
||||||
"hl+" = "red";
|
"hl+" = cfg.accent;
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue