Ascii: Remove ascii_logo_size

This commit is contained in:
Dylan Araps 2016-12-19 14:43:07 +11:00
parent d754a15e83
commit fbf59a7785
3 changed files with 10 additions and 22 deletions

View file

@ -569,6 +569,8 @@ ascii="distro"
# Change this to 'arch_old' or 'ubuntu_old' to use the old logos.
# NOTE: Ubuntu has flavor varients.
# Change this to 'Lubuntu', 'Xubuntu', 'Ubuntu-GNOME' or 'Ubuntu-Budgie' to use the flavors.
# NOTE: Arch, Crux and Gentoo have a smaller logo varient.
# Change this to 'arch_small', 'crux_small' or 'gentoo_small' to use the small logos.
ascii_distro="auto"
# Ascii Colors
@ -582,16 +584,6 @@ ascii_distro="auto"
# ascii_colors=(4 6 1 8 8 6) - Ascii is colored using these colors.
ascii_colors=(distro)
# Logo size
# Arch, Crux and Gentoo have a smaller logo
# variant. Changing the value below to small
# will make neofetch use the small logo.
#
# Default: 'normal'
# Values: 'normal', 'small'
# Flag: --ascii_logo_size
ascii_logo_size="normal"
# Bold ascii logo
# Whether or not to bold the ascii logo.
#

View file

@ -1839,11 +1839,6 @@ get_ascii() {
ascii="${ascii_distro,,}"
fi
if [[ "$ascii_logo_size" == "small" ]]; then
ascii="${ascii/ *}_small"
prompt_loc="3"
fi
if [[ -f "/usr/share/neofetch/ascii/distro/${ascii/ *}" ]]; then
ascii="/usr/share/neofetch/ascii/distro/${ascii/ *}"
@ -3068,8 +3063,10 @@ ASCII
NOTE: Change this to 'Lubuntu', 'Xubuntu', 'Ubuntu-GNOME', 'Ubuntu-Studio' or 'Ubuntu-Budgie' to use the flavors.
--ascii_logo_size Size of ascii logo.
Supported distros: Arch, Gentoo, Crux, OpenBSD.
NOTE: Arch, Crux and Gentoo have a smaller logo varient.
NOTE: Change this to 'arch_small', 'crux_small' or 'gentoo_small' to use the small logos.
--ascii_bold on/off Whether or not to bold the ascii logo.
-L, --logo Hide the info text and only show the ascii logo.
@ -3253,7 +3250,6 @@ get_args() {
case "$2" in "-"* | "") ascii_distro="$distro" ;; esac
;;
"--ascii_logo_size") ascii_logo_size="$2" ;;
"--ascii_bold") ascii_bold="$2" ;;
"--logo" | "-L")
image_backend="ascii"

View file

@ -211,10 +211,10 @@ NOTE: Use 'arch_old' or 'ubuntu_old' to use the old logos.
NOTE: Ubuntu has flavor varients.
.IP
NOTE: Change this to 'Lubuntu', 'Xubuntu', 'Ubuntu\-GNOME', 'Ubuntu\-Studio' or 'Ubuntu\-Budgie' to use the flavors.
.TP
\fB\-\-ascii_logo_size\fR
Size of ascii logo.
Supported distros: Arch, Gentoo, Crux, OpenBSD.
.IP
NOTE: Arch, Crux and Gentoo have a smaller logo varient.
.IP
NOTE: Change this to 'arch_small', 'crux_small' or 'gentoo_small' to use the small logos.
.TP
\fB\-\-ascii_bold\fR on/off
Whether or not to bold the ascii logo.