mirror of
https://github.com/dylanaraps/neofetch.git
synced 2025-12-14 12:37:16 +00:00
Image: Remove unneeded check
This commit is contained in:
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
Block a user