Fix fzf IFD
Some checks are pending
Gitea Actions Demo / Explore-Gitea-Actions (push) Waiting to run
Some checks are pending
Gitea Actions Demo / Explore-Gitea-Actions (push) Waiting to run
This commit is contained in:
parent
2e4893336a
commit
b396fdadb2
2 changed files with 24 additions and 2 deletions
|
|
@ -2,10 +2,28 @@
|
|||
config,
|
||||
lib,
|
||||
namespace,
|
||||
inputs,
|
||||
...
|
||||
}:
|
||||
let
|
||||
cfg = config.${namespace}.programs.fzf;
|
||||
colors =
|
||||
lib.attrsets.mapAttrs
|
||||
(_: color: inputs.catppuccin-nix-palette.lib.palette.mocha.colors.${color}.hex)
|
||||
{
|
||||
"bg+" = "surface0";
|
||||
bg = "base";
|
||||
spinner = "rosewater";
|
||||
hl = "mauve";
|
||||
fg = "text";
|
||||
header = "mauve";
|
||||
info = "mauve";
|
||||
pointer = "mauve";
|
||||
marker = "mauve";
|
||||
"fg+" = "text";
|
||||
prompt = "mauve";
|
||||
"hl+" = "mauve";
|
||||
};
|
||||
in
|
||||
{
|
||||
options.${namespace}.programs.fzf = {
|
||||
|
|
@ -13,7 +31,9 @@ in
|
|||
};
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
catppuccin.fzf.enable = true;
|
||||
programs.fzf.enable = true;
|
||||
programs.fzf = {
|
||||
inherit colors;
|
||||
enable = true;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue