28 lines
478 B
Nix
28 lines
478 B
Nix
monitors:
|
|
{ ... }:
|
|
{
|
|
wayland.windowManager.hyprland.settings.exec-once = [
|
|
"wpaperd"
|
|
];
|
|
|
|
services.wpaperd = {
|
|
enable = true;
|
|
settings =
|
|
builtins.listToAttrs (
|
|
map (mon: {
|
|
name = mon;
|
|
value = {
|
|
path = "~/Pictures/Wallpaper/${mon}";
|
|
};
|
|
}) monitors
|
|
)
|
|
// {
|
|
default = {
|
|
duration = "1h";
|
|
mode = "center";
|
|
sorting = "random";
|
|
};
|
|
};
|
|
};
|
|
}
|