Merge pull request #276 from aranega/master
Fix for terminology support: does not fallback on ascii when no wallpaper is found
This commit is contained in:
commit
d5fbd1f1ee
1 changed files with 1 additions and 1 deletions
2
neofetch
2
neofetch
|
@ -2307,7 +2307,7 @@ getimage () {
|
||||||
|
|
||||||
# If $img isn't a file or the terminal doesn't support xterm escape sequences,
|
# If $img isn't a file or the terminal doesn't support xterm escape sequences,
|
||||||
# fallback to ascii mode.
|
# fallback to ascii mode.
|
||||||
if [ ! -f "$img" ] || [ ${#term_size} -le 5 ] && [ "$image_backend" != "tycat" ]; then
|
if [ ! -f "$img" ] || ([ ${#term_size} -le 5 ] && [ "$image_backend" != "tycat" ]); then
|
||||||
image="ascii"
|
image="ascii"
|
||||||
getascii
|
getascii
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue