mirror of
https://github.com/dylanaraps/neofetch.git
synced 2025-10-04 01:00:17 +00:00
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:
2
neofetch
2
neofetch
@@ -2307,7 +2307,7 @@ getimage () {
|
||||
|
||||
# If $img isn't a file or the terminal doesn't support xterm escape sequences,
|
||||
# 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"
|
||||
getascii
|
||||
|
||||
|
Reference in New Issue
Block a user