nixdots/home/programs/graphical/launchers/wofi/default.nix
2024-06-10 20:12:13 +02:00

27 lines
491 B
Nix

{
osConfig,
lib,
...
}: let
inherit (lib) mkIf;
cfg = osConfig.myOptions.home-manager.programs.launchers.wofi;
in {
config = mkIf cfg.enable {
programs.wofi = {
enable = true;
settings = {
width = "40%";
height = "30%";
show = "drun";
prompt = "Search";
allow_images = true;
allow_markup = true;
insensitive = true;
};
style = ''
${builtins.readFile ./style.css}
'';
};
};
}