Skip to content
Browse files

Wow...actually ADDED SuSe detection now and made an ASCII logo for it…

…, too.
  • Loading branch information...
1 parent b787a34 commit a4c1f7b2ab0dc7cf2ca07b8fda7b5bb36277deaa Brett Bohnenkamper committed
Showing with 26 additions and 2 deletions.
  1. +26 −2 screenfetch-dev
View
28 screenfetch-dev
@@ -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";;

0 comments on commit a4c1f7b

Please sign in to comment.
Something went wrong with that request. Please try again.