mcfly: add option to enable fuzzy search

McFly 0.5.1 added support for fuzzy searching.
wip/yesman
Mario Rodas 4 years ago committed by Robert Helgesson
parent cb136f37c7
commit 2901044520
No known key found for this signature in database
GPG Key ID: 36BDAA14C2797E89
  1. 10
      modules/programs/mcfly.nix

@ -27,6 +27,14 @@ in {
'';
};
enableFuzzySearch = mkOption {
default = false;
type = types.bool;
description = ''
Whether to enable fuzzy searching.
'';
};
enableBashIntegration = mkOption {
default = true;
type = types.bool;
@ -75,5 +83,7 @@ in {
}
(mkIf cfg.enableLightTheme { home.sessionVariables.MCFLY_LIGHT = "TRUE"; })
(mkIf cfg.enableFuzzySearch { home.sessionVariables.MCFLY_FUZZY = "TRUE"; })
]);
}

Loading…
Cancel
Save