Add missing ascii_distro config option

This commit is contained in:
Dylan Araps 2016-08-12 16:52:51 +10:00
parent 56325786d2
commit d8a1165694
2 changed files with 8 additions and 1 deletions

View file

@ -345,6 +345,11 @@ xoffset=0
# --ascii 'distro', path/to/ascii # --ascii 'distro', path/to/ascii
ascii="distro" ascii="distro"
# Ascii distro
# Which distro's ascii art to display.
# --ascii_distro 'auto', 'distro_name'
ascii_distro="auto"
# Ascii colors # Ascii colors
# When this is set to distro it will use your # When this is set to distro it will use your
# ditro's colors to color the ascii. # ditro's colors to color the ascii.

View file

@ -2979,7 +2979,9 @@ trap 'printf "\033[?25h"; clear; exit' 2
# Distro detection # Distro detection
getdistro getdistro
[ -z "$ascii_distro" ] && ascii_distro="$(trim "$distro")" case "${ascii_distro:-auto}" in
"auto") ascii_distro="$(trim "$distro")" ;;
esac
# Get colors and bold # Get colors and bold
bold bold