Fix hang when wallpaper isn't found
This commit is contained in:
parent
153f804626
commit
868344c1a4
2 changed files with 4 additions and 17 deletions
3
fetch
3
fetch
|
@ -1030,6 +1030,9 @@ getimage () {
|
|||
;;
|
||||
esac
|
||||
|
||||
# If $img is empty, reset padding to 0 and exit the function
|
||||
[ -z "$img" ] && padding="\e[0C"; return
|
||||
|
||||
# Get name of image and prefix it with it's crop mode and offset
|
||||
imgname="$crop_mode-$crop_offset-$imgsize-${img##*/}"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue