Image: Fix bug when backend renderer isn't found
This commit is contained in:
parent
853bd8c941
commit
87cc686070
1 changed files with 2 additions and 2 deletions
4
neofetch
4
neofetch
|
@ -1976,7 +1976,7 @@ image_backend() {
|
||||||
|
|
||||||
get_image_size
|
get_image_size
|
||||||
make_thumbnail
|
make_thumbnail
|
||||||
display_image
|
display_image 2>/dev/null
|
||||||
;;
|
;;
|
||||||
|
|
||||||
*)
|
*)
|
||||||
|
@ -4019,7 +4019,7 @@ main() {
|
||||||
|
|
||||||
# w3m-img: Draw the image a second time to fix
|
# w3m-img: Draw the image a second time to fix
|
||||||
# rendering issues in specific terminal emulators.
|
# rendering issues in specific terminal emulators.
|
||||||
[[ "$image_program" == *w3m* ]] && display_image
|
[[ "$image_program" == *w3m* ]] && display_image 2>/dev/null
|
||||||
|
|
||||||
# Take a screenshot.
|
# Take a screenshot.
|
||||||
[[ "$scrot" == "on" ]] && take_scrot
|
[[ "$scrot" == "on" ]] && take_scrot
|
||||||
|
|
Loading…
Reference in a new issue