[desktop] Sets up wpaperd to pull wallpaper from monitor-named folders
This commit is contained in:
15
home-manager/features/wallpaper.nix
Normal file
15
home-manager/features/wallpaper.nix
Normal file
@@ -0,0 +1,15 @@
|
||||
monitors:
|
||||
{ ... }:
|
||||
{
|
||||
wayland.windowManager.hyprland.settings.exec-once = [
|
||||
"wpaperd"
|
||||
];
|
||||
|
||||
programs.wpaperd = {
|
||||
enable = true;
|
||||
settings = builtins.listToAttrs (map (mon: {
|
||||
name = mon;
|
||||
value = { path = "~/Pictures/Wallpaper/${mon}"; };
|
||||
}) monitors);
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user