Increase delay to give more time before deletion

This commit is contained in:
John Mertz 2022-09-17 15:16:05 -04:00
parent c62109d263
commit 05d692d936
Signed by: jpm
GPG Key ID: E9C5EA2D867501AB
1 changed files with 1 additions and 1 deletions

View File

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