{ config, pkgs, fonts, accentColour ? "base07", ... }: { programs.fuzzel = { enable = true; settings = { main = { dpi-aware = false; font = "${fonts.monospace.name}:size=${toString fonts.sizes.popups}"; icon-theme = config.gtk.iconTheme.name; icons-enabled = true; fields = "filename,name,generic,categories"; fuzzy = true; filter-desktop = true; terminal = with config.programs; "${ if foot.enable then foot.package else pkgs.foot }/bin/foot -e"; lines = 24; width = 80; tabs = 4; layer = "overlay"; }; colors = with config.scheme; { background = "${base00}cc"; # 80% Opacity text = "${base05}ff"; match = "${red}ff"; selection = "${base01}ff"; selection-text = "${base05}ff"; selection-match = "${red}ff"; border = "${config.scheme.${accentColour}}ff"; }; border = { width = 1; radius = 10; }; }; }; }