[wpaperd] Update deprecated settings

This commit is contained in:
2025-04-24 11:29:27 -07:00
parent 3a20c72206
commit 3198414be4

View File

@@ -5,12 +5,18 @@ monitors:
"wpaperd"
];
programs.wpaperd = {
services.wpaperd = {
enable = true;
settings = builtins.listToAttrs (map (mon: {
settings =
builtins.listToAttrs (
map (mon: {
name = mon;
value = { path = "~/Pictures/Wallpaper/${mon}"; };
}) monitors) // {
value = {
path = "~/Pictures/Wallpaper/${mon}";
};
}) monitors
)
// {
default = {
duration = "1h";
mode = "center";