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