depot/third_party/home-manager/tests/modules/programs/wofi/basic-configuration.nix
Default email 75fa0ae5af Project import generated by Copybara.
GitOrigin-RevId: c3ab5ea047e6dc73df530948f7367455749d8906
2023-08-08 12:19:01 +02:00

35 lines
780 B
Nix

{ pkgs, ... }:
{
config = {
programs.wofi = {
enable = true;
package = pkgs.writeScriptBin "dummy-wofi" "";
style = ''
* {
font-family: monospace;
}
window {
background-color: #7c818c;
}
'';
settings = {
drun-print_command = true;
insensitive = true;
show = "drun";
xoffset = 50;
yoffset = 200;
};
};
nmt.script = ''
assertFileExists home-files/.config/wofi/config
assertFileContent home-files/.config/wofi/config \
${./basic-configuration.conf}
assertFileExists home-files/.config/wofi/style.css
assertFileContent home-files/.config/wofi/style.css \
${./basic-style.css}
'';
};
}