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. # Change this to 'arch_old' or 'ubuntu_old' to use the old logos.
# NOTE: Ubuntu has flavor varients. # NOTE: Ubuntu has flavor varients.
# Change this to 'Lubuntu', 'Xubuntu', 'Ubuntu-GNOME' or 'Ubuntu-Budgie' to use the flavors. # 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_distro="auto"
# Ascii Colors # 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=(4 6 1 8 8 6) - Ascii is colored using these colors.
ascii_colors=(distro) 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 # Bold ascii logo
# Whether or not to bold the ascii logo. # Whether or not to bold the ascii logo.
# #

View File

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