29 lines
608 B
Nix
29 lines
608 B
Nix
{
|
|
config,
|
|
pkgs,
|
|
lib,
|
|
...
|
|
}: {
|
|
options = {
|
|
fuzzel.enable =
|
|
lib.mkEnableOption "enable fuzzel launcher";
|
|
};
|
|
config = lib.mkIf config.fuzzel.enable {
|
|
programs.fuzzel = {
|
|
enable = true;
|
|
settings = {
|
|
main = {
|
|
terminal = "${pkgs.wezterm}/bin/wezterm -e";
|
|
fields = "filename,name,generic,keywords,categories,exec";
|
|
match-mode = "fuzzy";
|
|
icon-theme = "${config.dconf.settings."org/gnome/desktop/interface".icon-theme}";
|
|
};
|
|
border = {
|
|
width = 4;
|
|
radius = 12;
|
|
};
|
|
};
|
|
};
|
|
};
|
|
}
|