Ascii: Fix old option
This commit is contained in:
parent
c3b82ecc31
commit
e347d9c8ce
1 changed files with 2 additions and 2 deletions
4
neofetch
4
neofetch
|
@ -2001,9 +2001,9 @@ image_backend() {
|
||||||
}
|
}
|
||||||
|
|
||||||
get_ascii() {
|
get_ascii() {
|
||||||
if [[ ! -f "$image_source" || "$image_source" =~ (auto|distro) ]]; then
|
if [[ ! -f "$image_source" || "$image_source" =~ (auto|ascii) ]]; then
|
||||||
# Fallback to distro ascii mode if custom ascii isn't found.
|
# Fallback to distro ascii mode if custom ascii isn't found.
|
||||||
[[ ! "$image_source" =~ (auto|distro) ]] && \
|
[[ ! "$image_source" =~ (auto|ascii) ]] && \
|
||||||
err "Ascii: Ascii file not found, using distro ascii."
|
err "Ascii: Ascii file not found, using distro ascii."
|
||||||
|
|
||||||
if [[ -d "/usr/share/neofetch/ascii/distro" ]]; then
|
if [[ -d "/usr/share/neofetch/ascii/distro" ]]; then
|
||||||
|
|
Loading…
Reference in a new issue