mirror of
https://github.com/KittyKatt/screenFetch.git
synced 2026-01-10 06:48:00 -05:00
Wow...actually ADDED SuSe detection now and made an ASCII logo for it, too.
This commit is contained in:
@@ -222,7 +222,7 @@ detectdistro () {
|
||||
if [ -f /etc/fedora-release ]; then distro="Fedora"; fi
|
||||
if [ -f /etc/redhat-release ]; then distro="Red Hat Linux"; fi
|
||||
if [ -f /etc/slackware-version ]; then distro="Slackware"; fi
|
||||
if [ -f /etc/SuSe-release ]; then distro="SuSe"; fi
|
||||
if [ -f /etc/SuSe-release ]; then distro="OpenSuSe"; fi
|
||||
if [ -f /etc/mandrake-release ]; then distro="Mandrake"; fi
|
||||
if [ -f /etc/mandriva-release ]; then distro="Mandriva"; fi
|
||||
if [ -f /etc/crunchbang-lsb-release ]; then distro="CrunchBang"; fi
|
||||
@@ -778,6 +778,30 @@ case $distro in
|
||||
"$c1 -/+ooo+/-. $c2\`")
|
||||
;;
|
||||
|
||||
"OpenSuSe")
|
||||
c1="\e[1;32m" # Bold Green
|
||||
c2="\e[1;37m" # Bold White
|
||||
startline="3"
|
||||
fulloutput=("$c2 .;ldkO0000Okdl;."
|
||||
"$c2 .;d00xl:,'....';:ok00d;."
|
||||
"$c2 .d00l' ,o00d."
|
||||
"$c2 .d0Kd."$c1" :Okxol:;'. "$c2":O0d. %s"
|
||||
"$c2 'OK"$c1"KKK0kOKKKKKKKKKKOxo:' "$c2"lKO' %s"
|
||||
"$c2 ,0K"$c1"KKKKKKKKKKKKKKK0d:"$c2",,,"$c1":dx:"$c2" ;00, %s"
|
||||
"$c2 .OK"$c1"KKKKKKKKKKKKKKKk."$c2".oOkdl."$c1"'0k."$c2" cKO. %s"
|
||||
"$c2 :KK"$c1"KKKKKKKKKKKKKKK: "$c2"kKx..od "$c1"lKd"$c2" .OK: %s"
|
||||
"$c2 dKK"$c1"KKKKKKKKKOx0KKKd "$c2";0KKKO, "$c1"kKKc"$c2" dKd %s"
|
||||
"$c2 dKK"$c1"KKKKKKKKKK;.;oOKx,.."$c2"'"$c1"..;kKKK0."$c2" dKd %s"
|
||||
"$c2 :KK"$c1"KKKKKKKKKK0o;...;cdxxOK0Oxc,. "$c2".0K: %s"
|
||||
"$c2 kKK"$c1"KKKKKKKKKKKKK0xl;'......,cdo "$c2"lKk %s"
|
||||
"$c2 '0K"$c1"KKKKKKKKKKKKKKKKKKKK00KKOo; "$c2"c00' %s"
|
||||
"$c2 .kK"$c1"KKOxddxkOO00000Okxoc;'. "$c2".dKk. %s"
|
||||
"$c2 l0Ko. .c00l. %s"
|
||||
"$c2 .l0Kk:. .;xK0l. %s"
|
||||
"$c2 ,lkK0xl:;,,,,;:ldO0kl,"
|
||||
"$c2 .':ldxkkkkxdl:'.")
|
||||
;;
|
||||
|
||||
"Red Hat Linux")
|
||||
[ -z $c1 ] && c1="\e[1;37m" # White
|
||||
c2="\e[1;31m" # Light Red
|
||||
@@ -861,7 +885,7 @@ infoDisplay () {
|
||||
case $distro in
|
||||
"Arch Linux - Old"|"Fedora"|"Mandriva"|"Mandrake") labelcolor="\e[1;34m";;
|
||||
"Arch Linux") labelcolor="\e[1;36m";;
|
||||
"Mint"|"LMDE") labelcolor="\e[1;32m";;
|
||||
"Mint"|"LMDE"|"OpenSuSe") labelcolor="\e[1;32m";;
|
||||
"Ubuntu"|"Debian"|"BSD"|"Red Hat Linux") labelcolor="\e[1;31m";;
|
||||
"CrunchBang") labelcolor="\e[1;30m";;
|
||||
"Gentoo") labelcolor="\e[1;35m";;
|
||||
|
||||
Reference in New Issue
Block a user