Increase delay to give more time before deletion

This commit is contained in:
John Mertz 2022-09-17 15:16:05 -04:00
parent 586ce31d0d
commit 3c059af401
1 changed files with 1 additions and 1 deletions

View File

@ -357,7 +357,7 @@ sub run
if ($self->{crop}) {
$self->do_log('LOG_DEBUG', "Deleting $cropped");
# Give swaybg a second, otherwise the file will be missing before it ends
sleep(1);
sleep(2);
unlink($cropped) || $self->do_log("LOG_WARNING", "Failed to delete $cropped after setting: $!");
}
} else {