nixdots/home/programs/graphical/launchers/wofi/default.nix

27 lines
491 B
Nix
Raw Normal View History

{
osConfig,
lib,
...
}: let
inherit (lib) mkIf;
2024-06-10 18:09:04 +00:00
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}
'';
2024-06-10 17:19:30 +00:00
};
};
}