Merge branch 'ascii-image'
This commit is contained in:
commit
02da9487fa
1 changed files with 1 additions and 1 deletions
2
neofetch
2
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."
|
||||
|
|
Loading…
Reference in a new issue