Image: Remove unneeded check
This commit is contained in:
parent
79afc7eb84
commit
3b29a9b736
3
neofetch
3
neofetch
|
@ -1954,9 +1954,6 @@ image_backend() {
|
||||||
image_backend="ascii"
|
image_backend="ascii"
|
||||||
err "Image: Imagemagick not found, falling back to ascii mode."
|
err "Image: Imagemagick not found, falling back to ascii mode."
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# If X isn't running force ascii mode here.
|
|
||||||
[[ -z "$DISPLAY" ]] && image_backend="ascii"
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
case "${image_backend:-off}" in
|
case "${image_backend:-off}" in
|
||||||
|
|
Reference in New Issue