Commit 02da9487 authored by Muhammad Herdiansyah's avatar Muhammad Herdiansyah

Merge branch 'ascii-image'

parents 6f17a2e3 754ffe2f
...@@ -3410,7 +3410,7 @@ image_backend() { ...@@ -3410,7 +3410,7 @@ image_backend() {
} }
get_ascii() { get_ascii() {
if [[ -f "$image_source" ]]; then if [[ -f "$image_source" && ! "$image_source" =~ (png|jpg|jpeg|jpe|svg|gif) ]]; then
ascii_data="$(< "$image_source")" ascii_data="$(< "$image_source")"
else else
err "Ascii: Ascii file not found, using distro ascii." err "Ascii: Ascii file not found, using distro ascii."
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment