mirror of
https://github.com/ItsDrike/nixdots
synced 2024-11-15 08:27:18 +00:00
27 lines
491 B
Nix
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}
|
|
'';
|
|
};
|
|
};
|
|
}
|