mirror of
https://github.com/harivansh-afk/nix.git
synced 2026-04-21 08:02:17 +00:00
fzf
This commit is contained in:
parent
ac7a2c4811
commit
e1550559e3
9 changed files with 132 additions and 68 deletions
10
home/fzf.nix
Normal file
10
home/fzf.nix
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
{config, ...}: let
|
||||
theme = import ../lib/theme.nix {inherit config;};
|
||||
in {
|
||||
home.sessionVariables = {
|
||||
FZF_DEFAULT_OPTS_FILE = theme.paths.fzfCurrentFile;
|
||||
};
|
||||
|
||||
xdg.configFile."fzf/themes/cozybox-dark".text = theme.renderFzf "dark";
|
||||
xdg.configFile."fzf/themes/cozybox-light".text = theme.renderFzf "light";
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue