Merge pull request #350 from dylanaraps/logo-mode

Logo mode - Only print ascii art.
This commit is contained in:
Dylan Araps 2016-10-03 21:51:56 +11:00 committed by GitHub
commit 31ae13d296
3 changed files with 10 additions and 0 deletions

View File

@ -454,6 +454,7 @@ alias neofetch2="neofetch \
--ascii_logo_size Size of ascii logo.
Supported distros: Arch, Gentoo, Crux, OpenBSD.
--ascii_bold on/off Whether or not to bold the ascii logo.
--logo | -L Hide the info text and only show the ascii logo.
Screenshot:
--scrot /path/to/img Take a screenshot, if path is left empty the screen-

View File

@ -2927,6 +2927,7 @@ usage() { cat << EOF
--ascii_logo_size Size of ascii logo.
Supported distros: Arch, Gentoo, Crux, OpenBSD.
--ascii_bold on/off Whether or not to bold the ascii logo.
--logo | -L Hide the info text and only show the ascii logo.
Screenshot:
--scrot /path/to/img Take a screenshot, if path is left empty the screen-
@ -3084,6 +3085,11 @@ getargs() {
--ascii_logo_size) ascii_logo_size="$2" ;;
--ascii_bold) ascii_bold="$2" ;;
--logo | -L)
image="ascii"
printinfo() { info linebreak; }
;;
# Screenshot
--scrot | -s)

View File

@ -230,6 +230,9 @@ Possible values: small, normal
.TP
.B \--ascii_bold 'on/off'
Whether or not to bold the ascii logo.
.TP
.B \--logo | -L
Hide the info text and only show the ascii logo.
.SH SCREENSHOT
.TP