Files
nixos-blueprint/hosts/dunamis/users/work/desktop/sway/fuzzel.nix
unexplrd 2e6e28ef32 initial
2025-02-06 00:33:06 +02:00

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;
};
};
};
};
}