home-manager/tests/modules/programs/wpaperd/wpaperd-example-settings.nix
Avimitin 209a24dff2
wpaperd: add wpaperd configuration
Signed-off-by: Avimitin <dev@avimit.in>
2023-10-01 09:23:33 +02:00

26 lines
501 B
Nix

{ ... }:
{
config = {
programs.wpaperd = {
enable = true;
settings = {
eDP-1 = {
path = "/home/foo/Pictures/Wallpaper";
apply-shadow = true;
};
DP-2 = {
path = "/home/foo/Pictures/Anime";
sorting = "descending";
};
};
};
test.stubs.wpaperd = { };
nmt.script = ''
assertFileContent home-files/.config/wpaperd/wallpaper.toml \
${./wpaperd-expected-settings.toml}
'';
};
}