Merge pull request #111 from dylanaraps/small_logo
Add small ascii logo variants for Arch, Crux and Gentoo.
This commit is contained in:
commit
4641a929c6
|
@ -439,6 +439,7 @@ Thanks to:
|
||||||
- [Screenfetch](https://github.com/KittyKatt/screenFetch):
|
- [Screenfetch](https://github.com/KittyKatt/screenFetch):
|
||||||
- I've used some snippets as a base for a few functions in this script.
|
- I've used some snippets as a base for a few functions in this script.
|
||||||
- I've used the ascii art from here.
|
- I've used the ascii art from here.
|
||||||
|
- [ufetch](https://github.com/jschx/ufetch): Tiny ascii logos
|
||||||
- [@metakirby5](https://github.com/metakirby5): Providing great feedback as well as ideas for the script.
|
- [@metakirby5](https://github.com/metakirby5): Providing great feedback as well as ideas for the script.
|
||||||
- [@jrgz](https://github.com/jrgz): Helping me test the Mac OS X version.
|
- [@jrgz](https://github.com/jrgz): Helping me test the Mac OS X version.
|
||||||
- [@mclado](https://github.com/mclado): Helping me with Max OS X testing
|
- [@mclado](https://github.com/mclado): Helping me with Max OS X testing
|
||||||
|
|
|
@ -0,0 +1,8 @@
|
||||||
|
''${c1}' /\\
|
||||||
|
/^^\\
|
||||||
|
/\\ \\
|
||||||
|
/'${c2}' __ \\
|
||||||
|
/ ( ) \\
|
||||||
|
/ __| |__\\\\\
|
||||||
|
/// \\\\\\\\\
|
||||||
|
'
|
|
@ -0,0 +1,9 @@
|
||||||
|
"\
|
||||||
|
${c1} ___
|
||||||
|
${c1} (${c3}.· ${c1}|
|
||||||
|
${c1} (${c2}<> ${c1}|
|
||||||
|
${c1} / ${c3}__ ${c1}\\
|
||||||
|
${c1} ( ${c3}/ \\ ${c1}/|
|
||||||
|
${c2}_${c1}/\\ ${c3}__)${c1}/${c2}_${c1})
|
||||||
|
${c2}\/${c1}-____${c2}\/
|
||||||
|
"
|
|
@ -0,0 +1,9 @@
|
||||||
|
"\
|
||||||
|
${c1} _-----_
|
||||||
|
( \\
|
||||||
|
\ 0 \\
|
||||||
|
${c2} \ )
|
||||||
|
/ _/
|
||||||
|
( _-
|
||||||
|
\____-
|
||||||
|
"
|
|
@ -290,6 +290,12 @@ ascii="distro"
|
||||||
# --ascii_colors 2 4 5 6
|
# --ascii_colors 2 4 5 6
|
||||||
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.
|
||||||
|
# --ascii_logo_size small, normal
|
||||||
|
ascii_logo_size="normal"
|
||||||
|
|
||||||
# }}}
|
# }}}
|
||||||
|
|
||||||
|
|
12
neofetch
12
neofetch
|
@ -310,6 +310,13 @@ ascii="distro"
|
||||||
# --ascii_colors 2 4 5 6
|
# --ascii_colors 2 4 5 6
|
||||||
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.
|
||||||
|
# --ascii_logo_size small, normal
|
||||||
|
ascii_logo_size="normal"
|
||||||
|
|
||||||
|
|
||||||
# }}}
|
# }}}
|
||||||
|
|
||||||
|
@ -1626,6 +1633,9 @@ getascii () {
|
||||||
ascii=${ascii_distro,,}
|
ascii=${ascii_distro,,}
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
[ "$ascii_logo_size" == "small" ] && \
|
||||||
|
ascii="${ascii/ *}_small"
|
||||||
|
|
||||||
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/ *}"
|
||||||
|
|
||||||
|
@ -2425,6 +2435,8 @@ while [ "$1" ]; do
|
||||||
case "$2" in "--"* | "") ascii_distro="$distro" ;; esac
|
case "$2" in "--"* | "") ascii_distro="$distro" ;; esac
|
||||||
;;
|
;;
|
||||||
|
|
||||||
|
--ascii_logo_size) ascii_logo_size="$2" ;;
|
||||||
|
|
||||||
# Screenshot
|
# Screenshot
|
||||||
--scrot | -s) scrot="on"; [ "$2" ] && scrot_path="$2" ;;
|
--scrot | -s) scrot="on"; [ "$2" ] && scrot_path="$2" ;;
|
||||||
--scrot_cmd) scrot_cmd="$2" ;;
|
--scrot_cmd) scrot_cmd="$2" ;;
|
||||||
|
|
Reference in New Issue