17 lines
415 B
Nix
17 lines
415 B
Nix
{ config, ... }:
|
|
{
|
|
services.hyprpaper = {
|
|
enable = true;
|
|
settings = {
|
|
wallpaper = map (mon: {
|
|
monitor = mon;
|
|
# Each monitor gets a folder under wallpaper that containes the current images.
|
|
path = "~/Pictures/Wallpaper/${mon}";
|
|
timeout = 3600;
|
|
recursive = true;
|
|
fit_mode = "cover";
|
|
}) (builtins.attrNames config.hardware.monitors);
|
|
};
|
|
};
|
|
}
|