Add fzf, give it a try

This commit is contained in:
Daniel Siepmann 2023-02-28 09:31:59 +01:00
parent 8375064019
commit c57994ea28
Signed by: Daniel Siepmann
GPG key ID: 33D6629915560EF4
2 changed files with 40 additions and 0 deletions

View file

@ -29,6 +29,9 @@ in {
inherit config;
};
fzf = import ./programs/fzf.nix {
};
zsh = import ./programs/zsh.nix {
inherit config pkgs;
};

37
home/programs/fzf.nix Normal file
View file

@ -0,0 +1,37 @@
{ }:
{
enable = true;
enableBashIntegration = false;
enableFishIntegration = false;
enableZshIntegration = true;
# See: https://github.com/junegunn/fzf/wiki/Color-schemes
colors = {
"fg" = "#D3D7CF";
"fg+" = "#D3D7CF";
"bg" = "#2E3436";
"bg+" = "#000000";
"hl" = "#72B3CC";
"hl+" = "#72B3CC";
"pointer" = "#72B3CC";
"info" = "#72B3CC";
"marker" = "#72B3CC";
"spinner" = "#72B3CC";
"prompt" = "#72B3CC";
"header" = "#72B3CC";
};
tmux = {
enableShellIntegration = true;
shellIntegrationOptions = [
"-p" # Use pop up window
"-y 1" # Place on top
"-w 95%"
"-h 75%"
];
};
}