Add missing ascii_distro config option
This commit is contained in:
parent
56325786d2
commit
d8a1165694
2 changed files with 8 additions and 1 deletions
|
@ -345,6 +345,11 @@ xoffset=0
|
|||
# --ascii 'distro', path/to/ascii
|
||||
ascii="distro"
|
||||
|
||||
# Ascii distro
|
||||
# Which distro's ascii art to display.
|
||||
# --ascii_distro 'auto', 'distro_name'
|
||||
ascii_distro="auto"
|
||||
|
||||
# Ascii colors
|
||||
# When this is set to distro it will use your
|
||||
# ditro's colors to color the ascii.
|
||||
|
|
4
neofetch
4
neofetch
|
@ -2979,7 +2979,9 @@ trap 'printf "\033[?25h"; clear; exit' 2
|
|||
|
||||
# Distro detection
|
||||
getdistro
|
||||
[ -z "$ascii_distro" ] && ascii_distro="$(trim "$distro")"
|
||||
case "${ascii_distro:-auto}" in
|
||||
"auto") ascii_distro="$(trim "$distro")" ;;
|
||||
esac
|
||||
|
||||
# Get colors and bold
|
||||
bold
|
||||
|
|
Loading…
Reference in a new issue