-
-
Notifications
You must be signed in to change notification settings - Fork 48
Nixos Home‐manager
uima edited this page Apr 26, 2024
·
1 revision
Since directly adding fzf options like below will cause some weird bugs:
extraConfig = ''
set -g @extrakto_fzf_tool "fzf --color=pointer:5"
'';
We can make a wrapper like this and add options here:
programs.tmux = {
enable = true;
plugins = with pkgs; [
{
plugin = tmuxPlugins.extrakto;
extraConfig = let
myFzf = pkgs.writeShellScriptBin "myFzf" ''
${pkgs.fzf}/bin/fzf --color=pointer:5 "$@"
'';
in ''
set -g @extrakto_fzf_tool "${myFzf}/bin/myFzf"
'';
}
];
};