[wpaperd] Update deprecated settings
This commit is contained in:
@@ -5,12 +5,18 @@ monitors:
|
|||||||
"wpaperd"
|
"wpaperd"
|
||||||
];
|
];
|
||||||
|
|
||||||
programs.wpaperd = {
|
services.wpaperd = {
|
||||||
enable = true;
|
enable = true;
|
||||||
settings = builtins.listToAttrs (map (mon: {
|
settings =
|
||||||
|
builtins.listToAttrs (
|
||||||
|
map (mon: {
|
||||||
name = mon;
|
name = mon;
|
||||||
value = { path = "~/Pictures/Wallpaper/${mon}"; };
|
value = {
|
||||||
}) monitors) // {
|
path = "~/Pictures/Wallpaper/${mon}";
|
||||||
|
};
|
||||||
|
}) monitors
|
||||||
|
)
|
||||||
|
// {
|
||||||
default = {
|
default = {
|
||||||
duration = "1h";
|
duration = "1h";
|
||||||
mode = "center";
|
mode = "center";
|
||||||
|
|||||||
Reference in New Issue
Block a user