diff --git a/neofetch b/neofetch index c15220a9..1b5d9790 100755 --- a/neofetch +++ b/neofetch @@ -3393,7 +3393,7 @@ image_backend() { } get_ascii() { - if [[ -f "$image_source" ]]; then + if [[ -f "$image_source" && ! "$image_source" =~ (png|jpg|jpeg|jpe|svg|gif) ]]; then ascii_data="$(< "$image_source")" else err "Ascii: Ascii file not found, using distro ascii."