Ascii: Fix bug when using custom ascii art
This commit is contained in:
parent
a1ace81577
commit
2662c42adc
1 changed files with 2 additions and 1 deletions
3
neofetch
3
neofetch
|
@ -1922,8 +1922,9 @@ get_ascii() {
|
||||||
[[ -d "$ascii_dir" ]] || \
|
[[ -d "$ascii_dir" ]] || \
|
||||||
{ to_off "Ascii: Ascii file not found, falling back to text mode."; return; }
|
{ to_off "Ascii: Ascii file not found, falling back to text mode."; return; }
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
ascii="${ascii_dir}/${ascii_file}"
|
||||||
fi
|
fi
|
||||||
ascii="${ascii_dir}/${ascii_file}"
|
|
||||||
|
|
||||||
# Set locale to get correct padding.
|
# Set locale to get correct padding.
|
||||||
export LC_ALL="$sys_locale"
|
export LC_ALL="$sys_locale"
|
||||||
|
|
Loading…
Reference in a new issue