diff --git a/homeManagerModules/services/randomWallpaper/default.nix b/homeManagerModules/services/randomWallpaper/default.nix index cf356b1b..90e513c6 100644 --- a/homeManagerModules/services/randomWallpaper/default.nix +++ b/homeManagerModules/services/randomWallpaper/default.nix @@ -27,7 +27,8 @@ if Dir.exist?(directory) loop do active_monitors = get_outputs - + break if active_monitors.empty? + added_monitors = active_monitors - known_monitors.keys removed_monitors = known_monitors.keys - active_monitors