Increase delay to give more time before deletion
This commit is contained in:
parent
586ce31d0d
commit
3c059af401
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue