diff --git a/neofetch b/neofetch index 808c7c0f..27a0be1d 100755 --- a/neofetch +++ b/neofetch @@ -3410,7 +3410,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."