From c1834de48833fab6da828a722d1c5ddabf98b30d Mon Sep 17 00:00:00 2001 From: William Woodruff Date: Thu, 30 Oct 2014 15:10:22 -0400 Subject: [PATCH] refactored logos and display functions, significant code reorganization --- README.md | 4 +- makefile | 34 +- manpage/screenfetch-c.1 | 14 +- src/disp.c | 775 +++++++++++++++++++++++++ src/disp.h | 3 + src/logos.c | 925 ++++++++++++++++++++++++++++++ src/logos.h | 967 ++------------------------------ src/screenfetch-c.c | 811 +------------------------- src/screenfetch-c.h | 7 +- src/{ => scripts}/detectde | 0 src/{ => scripts}/detectgpu | 0 src/{ => scripts}/detectgtk | 0 src/{ => scripts}/detectwm | 0 src/{ => scripts}/detectwmtheme | 0 src/util.c | 40 ++ src/util.h | 16 + src/version.h | 4 +- 17 files changed, 1838 insertions(+), 1762 deletions(-) create mode 100644 src/logos.c rename src/{ => scripts}/detectde (100%) rename src/{ => scripts}/detectgpu (100%) rename src/{ => scripts}/detectgtk (100%) rename src/{ => scripts}/detectwm (100%) rename src/{ => scripts}/detectwmtheme (100%) create mode 100644 src/util.c create mode 100644 src/util.h diff --git a/README.md b/README.md index 7284af3..536afa1 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ screenfetch-c ============= -## Current Version: 1.2 release +## Current Version: 1.3 (release) screenfetch-c is an attempt to rewrite screenFetch, a popular shell script that displays system information and an ASCII logo, in the C @@ -145,4 +145,4 @@ _Note:_ These are only the ones that have actually been tested (so far). screenf ## License screenfetch-c is licensed under the MIT license. -For the exact terms, see the [license file](./LICENSE). +For the exact terms, see the [license](./LICENSE). diff --git a/makefile b/makefile index d5f6b92..99036ad 100644 --- a/makefile +++ b/makefile @@ -1,17 +1,17 @@ -CC=gcc -CFLAGS=-O3 -std=c99 -Wall -Wunused-variable -CFLAGS_LINUX=-Wno-unused-result -LDFLAGS_OSX=-lpthread -framework CoreServices -LDFLAGS_BSD=-lpthread -LDFLAGS_LINUX=-lpthread -lX11 -lGL -LDFLAGS_SOLARIS=-lpthread -lX11 -INSTALL=/usr/bin/install -c +CC = gcc +CFLAGS = -O3 -std=c99 -Wall -Wunused-variable +CFLAGS_LINUX = -Wno-unused-result +LDFLAGS_OSX = -lpthread -framework CoreServices +LDFLAGS_BSD = -lpthread +LDFLAGS_LINUX = -lpthread -lX11 -lGL +LDFLAGS_SOLARIS = -lpthread -lX11 +INSTALL = /usr/bin/install -c -PREFIX=/usr/local -BIN=$(PREFIX)/bin -MAN=$(PREFIX)/share/man/man1 +PREFIX = /usr/local +BIN = $(PREFIX)/bin +MAN = $(PREFIX)/share/man/man1 -SOURCES=./src/*.c +SOURCES = ./src/*.c all: @echo '=========================================================' @@ -36,11 +36,11 @@ win: install: $(INSTALL) screenfetch-c $(BIN)/screenfetch-c - $(INSTALL) ./src/detectde $(BIN)/detectde - $(INSTALL) ./src/detectgtk $(BIN)/detectgtk - $(INSTALL) ./src/detectwm $(BIN)/detectwm - $(INSTALL) ./src/detectwmtheme $(BIN)/detectwmtheme - $(INSTALL) ./src/detectgpu $(BIN)/detectgpu + $(INSTALL) ./src/scripts/detectde $(BIN)/detectde + $(INSTALL) ./src/scripts/detectgtk $(BIN)/detectgtk + $(INSTALL) ./src/scripts/detectwm $(BIN)/detectwm + $(INSTALL) ./src/scripts/detectwmtheme $(BIN)/detectwmtheme + $(INSTALL) ./src/scripts/detectgpu $(BIN)/detectgpu mkdir -p $(MAN) $(INSTALL) ./manpage/screenfetch-c.1 $(MAN)/screenfetch-c.1 diff --git a/manpage/screenfetch-c.1 b/manpage/screenfetch-c.1 index f0f5328..739dc39 100755 --- a/manpage/screenfetch-c.1 +++ b/manpage/screenfetch-c.1 @@ -1,6 +1,6 @@ .\" Manpage for screenfetch-c .\" Contact woodruffw on GitHub or at william @ tuffbizz.com to report any bugs or errors -.TH screenfetch-c 1 "04 August 2013" "1.2r" "User Commands" +.TH screenfetch-c 1 "04 August 2013" "1.3r" "User Commands" .SH NAME \fBscreenfetch-c\fP - Display computer information and an ASCII logo @@ -89,15 +89,17 @@ Each of these variables must be defined properly in order for \fBscreenfetch-c\f .SH RELEASE HISTORY Note: Revisions are not counted in the release history. -\fB0.1\fP - ALPHA - INCOMPLETE, UNCOMPILED +\fI0.1\fP - ALPHA - INCOMPLETE, UNCOMPILED -\fB0.5\fP - ALPHA - INCOMPLETE, TEST COMPILED +\fI0.5\fP - ALPHA - INCOMPLETE, TEST COMPILED -\fB1.0\fP - BETA - LACKING MINOR PARTS, STABLE, WORKING ON MOST SYSTEMS +\fI1.0\fP - BETA - LACKING MINOR PARTS, STABLE, WORKING ON MOST SYSTEMS -\fB1.1\fP - BETA - NEARLY COMPLETE, MINOR BUGS AND GPU DETECTION NOT FINISHED +\fI1.1\fP - BETA - NEARLY COMPLETE, MINOR BUGS AND GPU DETECTION NOT FINISHED -\fB1.2\fP - RELEASE - WORKS ON THE MAJORITY OF SYSTEMS +\fI1.2\fP - RELEASE - WORKS ON THE MAJORITY OF SYSTEMS + +\fI1.3\fP - RELEASE - SIGNIFICANT REFACTORING AND PERFORMANCE IMPROVEMENTS .SH BUGS AND ERRATIC BEHAVIOR Shell version detection relies of very specific naming schemes and may appear incorrectly if any shell changes its versioning scheme. diff --git a/src/disp.c b/src/disp.c index e5e48bc..02d61af 100644 --- a/src/disp.c +++ b/src/disp.c @@ -9,7 +9,13 @@ */ #include +#include +#include #include "version.h" +#include "logos.h" +#include "colors.h" +#include "misc.h" +#include "screenfetch-c.h" /* display_version called if the -v flag is tripped @@ -39,3 +45,772 @@ void display_help(void) printf("\n%s\n", "For more information, consult screenfetch-c's man page."); return; } + +/* output_logo_only + outputs an ASCII logo based upon the distro name passed to it + argument char *distro the name of the distro to output +*/ +void output_logo_only(char *distro) +{ + int i = 0; + + if (STRCMP(distro, "Windows")) + { + for (i = 0; i < 16; i++) + { + printf("%s\n", windows_logo[i]); + } + } + + else if (STRCMP(distro, "OS X")) + { + for (i = 0; i < 16; i++) + { + printf("%s\n", macosx_logo[i]); + } + } + + else if (STRCMP(distro, "Arch Linux - Old")) + { + for (i = 0; i < 18; i++) + { + printf("%s\n", oldarch_logo[i]); + } + } + + else if (STRCMP(distro, "Arch Linux")) + { + for (i = 0; i < 18; i++) + { + printf("%s\n", arch_logo[i]); + } + } + + else if (STRCMP(distro, "LinuxMint")) + { + for (i = 0; i < 18; i++) + { + printf("%s\n", mint_logo[i]); + } + } + + else if (STRCMP(distro, "LMDE")) + { + for (i = 0; i < 18; i++) + { + printf("%s\n", lmde_logo[i]); + } + } + + else if (STRCMP(distro, "Ubuntu") || STRCMP(distro, "Lubuntu") || STRCMP(distro, "Xubuntu")) + { + for (i = 0; i < 18; i++) + { + printf("%s\n", ubuntu_logo[i]); + } + } + + else if (STRCMP(distro, "Debian")) + { + for (i = 0; i < 18; i++) + { + printf("%s\n", debian_logo[i]); + } + } + + else if (STRCMP(distro, "CrunchBang")) + { + for (i = 0; i < 18; i++) + { + printf("%s\n", crunchbang_logo[i]); + } + } + + else if (STRCMP(distro, "Gentoo")) + { + for (i = 0; i < 18; i++) + { + printf("%s\n", gentoo_logo[i]); + } + } + + else if (STRCMP(distro, "Funtoo")) + { + for (i = 0; i < 18; i++) + { + printf("%s\n", funtoo_logo[i]); + } + } + + else if (STRCMP(distro, "Fedora")) + { + for (i = 0; i < 18; i++) + { + printf("%s\n", fedora_logo[i]); + } + } + + else if (STRCMP(distro, "Mandriva") || STRCMP(distro, "Mandrake")) + { + for (i = 0; i < 18; i++) + { + printf("%s\n", mandriva_mandrake_logo[i]); + } + } + + else if (STRCMP(distro, "OpenSUSE")) + { + for (i = 0; i < 18; i++) + { + printf("%s\n", opensuse_logo[i]); + } + } + + else if (STRCMP(distro, "Slackware")) + { + for (i = 0; i < 21; i++) + { + printf("%s\n", slackware_logo[i]); + } + } + + else if (STRCMP(distro, "Red Hat Linux")) + { + for (i = 0; i < 18; i++) + { + printf("%s\n", redhat_logo[i]); + } + } + + else if (STRCMP(distro, "Frugalware")) + { + for (i = 0; i < 23; i++) + { + printf("%s\n", frugalware_logo[i]); + } + } + + else if (STRCMP(distro, "Peppermint")) + { + for (i = 0; i < 19; i++) + { + printf("%s\n", peppermint_logo[i]); + } + } + + else if (STRCMP(distro, "SolusOS")) + { + for (i = 0; i < 18; i++) + { + printf("%s\n", solusos_logo[i]); + } + } + + else if (STRCMP(distro, "Mageia")) + { + for (i = 0; i < 18; i++) + { + printf("%s\n", mageia_logo[i]); + } + } + + else if (STRCMP(distro, "ParabolaGNU/Linux-libre")) + { + for (i = 0; i < 18; i++) + { + printf("%s\n", parabolagnu_linuxlibre_logo[i]); + } + } + + else if (STRCMP(distro, "Viperr")) + { + for (i = 0; i < 18; i++) + { + printf("%s\n", viperr_logo[i]); + } + } + + else if (STRCMP(distro, "LinuxDeepin")) + { + for (i = 0; i < 18; i++) + { + printf("%s\n", linuxdeepin_logo[i]); + } + } + + else if (STRCMP(distro, "Chakra")) + { + for (i = 0; i < 18; i++) + { + printf("%s\n", chakra_logo[i]); + } + } + + else if (STRCMP(distro, "Fuduntu")) + { + for (i = 0; i < 21; i++) + { + printf("%s\n", fuduntu_logo[i]); + } + } + + else if (STRCMP(distro, "Trisquel")) + { + for (i = 0; i < 18; i++) + { + printf("%s\n", trisquel_logo[i]); + } + } + + else if (STRCMP(distro, "Manjaro")) + { + for (i = 0; i < 18; i++) + { + printf("%s\n", manjaro_logo[i]); + } + } + + else if (STRCMP(distro, "elementary OS")) + { + for (i = 0; i < 18; i++) + { + printf("%s\n", elementaryos_logo[i]); + } + } + + else if (STRCMP(distro, "Scientific Linux")) + { + for (i = 0; i < 20; i++) + { + printf("%s\n", scientificlinux_logo[i]); + } + } + + else if (STRCMP(distro, "Backtrack Linux")) + { + for (i = 0; i < 21; i++) + { + printf("%s\n", backtracklinux_logo[i]); + } + } + + else if (STRCMP(distro, "Sabayon")) + { + for (i = 0; i < 18; i++) + { + printf("%s\n", sabayon_logo[i]); + } + } + + else if (STRCMP(distro, "FreeBSD")) + { + for (i = 0; i < 18; i++) + { + printf("%s\n", freebsd_logo[i]); + } + } + + else if (STRCMP(distro, "OpenBSD")) + { + for (i = 0; i < 23; i++) + { + printf("%s\n", openbsd_logo[i]); + } + } + + else if (STRCMP(distro, "NetBSD")) + { + for (i = 0; i < 20; i++) + { + printf("%s\n", netbsd_logo[i]); + } + } + + else if (STRCMP(distro, "DragonFly BSD")) + { + for (i = 0; i < 18; i++) + { + printf("%s\n", dragonflybsd_logo[i]); + } + } + + else if (STRCMP(distro, "Android")) + { + for (i = 0; i < 16; i++) + { + printf("%s\n", android_logo[i]); + } + } + + else if (STRCMP(distro, "Solaris")) + { + for (i = 0; i < 17; i++) + { + printf("%s\n", solaris_logo[i]); + } + } + + else if (STRCMP(distro, "Angstrom")) + { + for (i = 0; i < 16; i++) + { + printf("%s\n", angstrom_logo[i]); + } + } + + else /* if (STRCMP(distro_str, "Linux")) */ + { + for (i = 0; i < 16; i++) + { + printf("%s\n", linux_logo[i]); + } + } +} + +/* main_ascii_output + the primary output for screenfetch-c - all info and ASCII art is printed here + arguments char *data[], char *data_names[]: string arrays containing the names and data acquired +*/ +void main_ascii_output(char *data[], char *data_names[]) +{ + int i = 0; + + if (OS == CYGWIN) + { + for (i = 0; i < 16; i++) + { + printf("%s %s%s%s%s%s\n", windows_logo[i], TRED, data_names[i], TWHT, data[i], TNRM); + } + } + + else if (OS == OSX) + { + for (i = 0; i < 16; i++) + { + printf("%s %s%s%s%s\n", macosx_logo[i], TLBL, data_names[i], TNRM, data[i]); + } + } + + else if (OS == LINUX) + { + if (STRCMP(data[1], "Arch Linux - Old")) + { + for (i = 0; i < 18; i++) + { + if (i < 16) + printf("%s %s%s%s%s%s\n", oldarch_logo[i], TLBL, data_names[i], TNRM, data[i], TNRM); + else + printf("%s\n", oldarch_logo[i]); + } + } + + else if (STRCMP(data[1], "Arch Linux")) + { + for (i = 0; i < 18; i++) + { + if (i < 16) + printf("%s %s%s%s%s%s\n", arch_logo[i], TLCY, data_names[i], TNRM, data[i], TNRM); + else + printf("%s\n", arch_logo[i]); + } + } + + else if (STRCMP(data[1], "LinuxMint")) + { + for (i = 0; i < 18; i++) + { + if (i < 16) + printf("%s %s%s%s%s%s\n", mint_logo[i], TLGN, data_names[i], TNRM, data[i], TNRM); + else + printf("%s\n", mint_logo[i]); + } + } + + else if (STRCMP(data[1], "LMDE")) + { + for (i = 0; i < 18; i++) + { + if (i < 16) + printf("%s %s%s%s%s\n", lmde_logo[i], TLGN, data_names[i], TNRM, data[i]); + else + printf("%s\n", lmde_logo[i]); + } + } + + else if (STRCMP(data[1], "Ubuntu") || STRCMP(data[1], "Lubuntu") || STRCMP(data[1], "Xubuntu")) + { + for (i = 0; i < 18; i++) + { + if (i < 16) + printf("%s %s%s%s%s%s\n", ubuntu_logo[i], TLRD, data_names[i], TNRM, data[i], TNRM); + else + printf("%s\n", ubuntu_logo[i]); + } + } + + else if (STRCMP(data[1], "Debian")) + { + for (i = 0; i < 18; i++) + { + if (i < 16) + printf("%s %s%s%s%s\n", debian_logo[i], TLRD, data_names[i], TNRM, data[i]); + else + printf("%s\n", debian_logo[i]); + } + } + + else if (STRCMP(data[1], "CrunchBang")) + { + for (i = 0; i < 18; i++) + { + if (i < 16) + printf("%s %s%s%s%s\n", crunchbang_logo[i], TDGY, data_names[i], TNRM, data[i]); + else + printf("%s\n", crunchbang_logo[i]); + } + } + + else if (STRCMP(data[1], "Gentoo")) + { + for (i = 0; i < 18; i++) + { + if (i < 16) + printf("%s %s%s%s%s\n", gentoo_logo[i], TLPR, data_names[i], TNRM, data[i]); + else + printf("%s\n", gentoo_logo[i]); + } + } + + else if (STRCMP(data[1], "Funtoo")) + { + for (i = 0; i < 18; i++) + { + if (i < 16) + printf("%s %s%s%s%s\n", funtoo_logo[i], TLPR, data_names[i], TNRM, data[i]); + else + printf("%s\n", funtoo_logo[i]); + } + } + + else if (STRCMP(data[1], "Fedora")) + { + for (i = 0; i < 18; i++) + { + if (i < 16) + printf("%s %s%s%s%s\n", fedora_logo[i], TLBL, data_names[i], TNRM, data[i]); + else + printf("%s\n", fedora_logo[i]); + } + } + + else if (STRCMP(data[1], "Mandriva") || STRCMP(data[1], "Mandrake")) + { + for (i = 0; i < 18; i++) + { + if (i < 16) + printf("%s %s%s%s%s\n", mandriva_mandrake_logo[i], TLBL, data_names[i], TNRM, data[i]); + else + printf("%s\n", mandriva_mandrake_logo[i]); + } + } + + else if (STRCMP(data[1], "OpenSUSE")) + { + for (i = 0; i < 18; i++) + { + if (i < 16) + printf("%s %s%s%s%s\n", opensuse_logo[i], TLGN, data_names[i], TNRM, data[i]); + else + printf("%s\n", opensuse_logo[i]); + } + } + + else if (STRCMP(data[1], "Slackware")) + { + for (i = 0; i < 21; i++) + { + if (i < 16) + printf("%s %s%s%s%s\n", slackware_logo[i], TLBL, data_names[i], TNRM, data[i]); + else + printf("%s\n", slackware_logo[i]); + } + } + + else if (STRCMP(data[1], "Red Hat Linux")) + { + for (i = 0; i < 18; i++) + { + if (i < 16) + printf("%s %s%s%s%s\n", redhat_logo[i], TRED, data_names[i], TNRM, data[i]); + else + printf("%s\n", redhat_logo[i]); + } + } + + else if (STRCMP(data[1], "Frugalware")) + { + for (i = 0; i < 23; i++) + { + if (i < 16) + printf("%s %s%s%s%s\n", frugalware_logo[i], TLCY, data_names[i], TNRM, data[i]); + else + printf("%s\n", frugalware_logo[i]); + } + } + + else if (STRCMP(data[1], "Peppermint")) + { + for (i = 0; i < 18; i++) + { + if (i < 16) + printf("%s %s%s%s%s\n", peppermint_logo[i], TLRD, data_names[i], TNRM, data[i]); + else + printf("%s\n", peppermint_logo[i]); + } + } + + else if (STRCMP(data[1], "SolusOS")) + { + for (i = 0; i < 18; i++) + { + if (i < 16) + printf("%s %s%s%s%s\n", solusos_logo[i], TLGY, data_names[i], TNRM, data[i]); + else + printf("%s\n", solusos_logo[i]); + } + } + + else if (STRCMP(data[1], "Mageia")) + { + for (i = 0; i < 18; i++) + { + if (i < 16) + printf("%s %s%s%s%s\n", mageia_logo[i], TLCY, data_names[i], TNRM, data[i]); + else + printf("%s\n", mageia_logo[i]); + } + } + + else if (STRCMP(data[1], "ParabolaGNU/Linux-libre")) + { + for (i = 0; i < 18; i++) + { + if (i < 16) + printf("%s %s%s%s%s\n", parabolagnu_linuxlibre_logo[i], TLPR, data_names[i], TNRM, data[i]); + else + printf("%s\n", parabolagnu_linuxlibre_logo[i]); + } + } + + else if (STRCMP(data[1], "Viperr")) + { + for (i = 0; i < 18; i++) + { + if (i < 16) + printf("%s %s%s%s%s\n", viperr_logo[i], TLGY, data_names[i], TNRM, data[i]); + else + printf("%s\n", viperr_logo[i]); + } + } + + else if (STRCMP(data[1], "LinuxDeepin")) + { + for (i = 0; i < 18; i++) + { + if (i < 16) + printf("%s %s%s%s%s\n", linuxdeepin_logo[i], TLGN, data_names[i], TNRM, data[i]); + else + printf("%s\n", linuxdeepin_logo[i]); + } + } + + else if (STRCMP(data[1], "Chakra")) + { + for (i = 0; i < 18; i++) + { + if (i < 16) + printf("%s %s%s%s%s\n", chakra_logo[i], TLBL, data_names[i], TNRM, data[i]); + else + printf("%s\n", chakra_logo[i]); + } + } + + else if (STRCMP(data[1], "Fuduntu")) + { + for (i = 0; i < 21; i++) + { + if (i < 16) + printf("%s %s%s%s%s\n", fuduntu_logo[i], TLRD, data_names[i], TNRM, data[i]); + else + printf("%s\n", fuduntu_logo[i]); + } + } + + else if (STRCMP(data[1], "Trisquel")) + { + for (i = 0; i < 18; i++) + { + if (i < 16) + printf("%s %s%s%s%s\n", trisquel_logo[i], TLBL, data_names[i], TNRM, data[i]); + else + printf("%s\n", trisquel_logo[i]); + } + } + + else if (STRCMP(data[1], "Manjaro")) + { + for (i = 0; i < 18; i++) + { + if (i < 16) + printf("%s %s%s\n", manjaro_logo[i], data_names[i], data[i]); + else + printf("%s\n", manjaro_logo[i]); + } + } + + else if (STRCMP(data[1], "elementary OS")) + { + for (i = 0; i < 18; i++) + { + if (i < 16) + printf("%s %s%s%s%s\n", elementaryos_logo[i], TLGN, data_names[i], TNRM, data[i]); + else + printf("%s\n", elementaryos_logo[i]); + } + } + + else if (STRCMP(data[1], "Scientific Linux")) + { + for (i = 0; i < 20; i++) + { + if (i < 16) + printf("%s %s%s%s%s\n", scientificlinux_logo[i], TLRD, data_names[i], TNRM, data[i]); + else + printf("%s\n", scientificlinux_logo[i]); + } + } + + else if (STRCMP(data[1], "Backtrack Linux")) + { + for (i = 0; i < 20; i++) + { + if (i < 16) + printf("%s %s%s%s%s\n", backtracklinux_logo[i], TLRD, data_names[i], TNRM, data[i]); + else + printf("%s\n", backtracklinux_logo[i]); + } + } + + else if (STRCMP(data[1], "Sabayon")) + { + for (i = 0; i < 18; i++) + { + if (i < 16) + printf("%s %s%s%s%s\n", sabayon_logo[i], TLBL, data_names[i], TNRM, data[i]); + else + printf("%s\n", sabayon_logo[i]); + } + } + + else if (STRCMP(data[1], "Android")) + { + for (i = 0; i < 16; i++) + { + if (i < 12) + printf("%s %s%s%s%s\n", android_logo[i], TLGN, data_names[i], TNRM, data[i]); + else + printf("%s\n", android_logo[i]); + } + } + + else if (STRCMP(data[1], "Angstrom")) + { + for (i = 0; i < 16; i++) + { + printf("%s %s%s\n", angstrom_logo[i], data_names[i], data[i]); + } + } + + else /* if (STRCMP(data[1], "Linux")) */ + { + for (i = 0; i < 18; i++) + { + if (i < 16) + printf("%s %s%s%s%s\n", linux_logo[i], TLGY, data_names[i], TNRM, data[i]); + else + printf("%s\n", linux_logo[i]); + } + } + } + + else if (OS == FREEBSD) + { + for (i = 0; i < 18; i++) + { + if (i < 16) + printf("%s %s%s%s%s\n", freebsd_logo[i], TLRD, data_names[i], TNRM, data[i]); + else + printf("%s\n", freebsd_logo[i]); + } + } + + else if (OS == OPENBSD) + { + for (i = 0; i < 23; i++) + { + if (i < 16) + printf("%s %s%s\n", openbsd_logo[i], data_names[i], data[i]); + else + printf("%s\n", openbsd_logo[i]); + } + } + + else if (OS == NETBSD) + { + for (i = 0; i < 23; i++) + { + if (i < 16) + printf("%s %s%s\n", netbsd_logo[i], data_names[i], data[i]); + else + printf("%s\n", netbsd_logo[i]); + } + } + + else if (OS == DFBSD) + { + for (i = 0; i < 23; i++) + { + if (i < 16) + printf("%s %s%s\n", dragonflybsd_logo[i], data_names[i], data[i]); + else + printf("%s\n", dragonflybsd_logo[i]); + } + } + + else if (OS == SOLARIS) + { + for (i = 0; i < 17; i++) + { + if (i < 16) + printf("%s %s%s\n", solaris_logo[i], data_names[i], data[i]); + else + printf("%s\n", solaris_logo[i]); + } + } + + return; +} + +/* main_text_output + the secondary output for screenfetch-c - all info WITHOUT ASCII art is printed here + arguments char *data[], char *data_names[]: string arrays containing the names and data acquired +*/ +void main_text_output(char *data[], char *data_names[]) +{ + int i; + + for (i = 0; i < 16; i++) + printf("%s %s\n", data_names[i], data[i]); + + return; +} diff --git a/src/disp.h b/src/disp.h index 5d1d082..932eb1c 100644 --- a/src/disp.h +++ b/src/disp.h @@ -14,6 +14,9 @@ void display_version(void); void display_help(void); +void output_logo_only(char *distro); +void main_ascii_output(char *data[], char *data_names[]); +void main_text_output(char *data[], char *data_names[]); #define ERROR_OUT(str1, str2) (fprintf(stderr, TWHT "[[ " TLRD "!" TWHT " ]] " TNRM "%s%s\n", str1, str2)) #define VERBOSE_OUT(str1, str2) (fprintf(stdout, TLRD ":: " TNRM "%s%s\n", str1, str2)) diff --git a/src/logos.c b/src/logos.c new file mode 100644 index 0000000..82de572 --- /dev/null +++ b/src/logos.c @@ -0,0 +1,925 @@ +/* logos.c + Author: William Woodruff + ------------- + + The ASCII logos used by screenfetch-c are initialized in this file. + Like the rest of screenfetch-c.c, this file is licensed under the MIT license. + You should have received a copy of it with this code. +*/ + +#include "colors.h" + +/* 18 */ +char *oldarch_logo[] = +{ + ""TWHT" __ " TNRM, + ""TWHT" _=(SDGJT=_ " TNRM, + ""TWHT" _GTDJHGGFCVS) " TNRM, + ""TWHT" ,GTDJGGDTDFBGX0 " TNRM, + ""TWHT" JDJDIJHRORVFSBSVL"TLBL"-=+=,_ " TNRM, + ""TWHT" IJFDUFHJNXIXCDXDSV,"TLBL" \"DEBL " TNRM, + ""TWHT" [LKDSDJTDU=OUSCSBFLD."TLBL" '?ZWX, " TNRM, + ""TWHT" ,LMDSDSWH' `DCBOSI"TLBL" DRDS], " TNRM, + ""TWHT" SDDFDFH' !YEWD,"TLBL" )HDROD " TNRM, + ""TWHT" !KMDOCG &GSU|"TLBL"_GFHRGO' " TNRM, + ""TWHT" HKLSGP'"TLBL" __"TWHT"TKM0"TLBL"GHRBV)' " TNRM, + ""TWHT" JSNRVW'"TLBL" __+MNAEC"TWHT"IOI,"TLBL"BN' " TNRM, + ""TWHT" HELK['"TLBL" __,=OFFXCBGHC"TWHT"FD) " TNRM, + ""TWHT" ?KGHE "TLBL"_-#DASDFLSV='"TWHT" 'EF " TNRM, + ""TWHT" 'EHTI !H " TNRM, + ""TWHT" `0F' '! " TNRM, + " " TNRM, + " " TNRM +}; + +/* 18 */ +char *arch_logo[] = +{ + ""TLCY" -` ", + ""TLCY" .o+` " TNRM, + ""TLCY" `ooo/ " TNRM, + ""TLCY" `+oooo: " TNRM, + ""TLCY" `+oooooo: " TNRM, + ""TLCY" -+oooooo+: " TNRM, + ""TLCY" `/:-:++oooo+: " TNRM, + ""TLCY" `/++++/+++++++: " TNRM, + ""TLCY" `/++++++++++++++: " TNRM, + ""TLCY" `/+++o"TCYN"oooooooo"TLCY"oooo/` " TNRM, + ""TCYN" "TLCY"./"TCYN"ooosssso++osssssso"TLCY"+` " TNRM, + ""TCYN" .oossssso-````/ossssss+` " TNRM, + ""TCYN" -osssssso. :ssssssso. " TNRM, + ""TCYN" :osssssss/ osssso+++. " TNRM, + ""TCYN" /ossssssss/ +ssssooo/- " TNRM, + ""TCYN" `/ossssso+/:- -:/+osssso+- " TNRM, + ""TCYN" `+sso+:-` `.-/+oso: " TNRM, + ""TCYN" `++:. `-/+/" TNRM, + ""TCYN" .` `/" TNRM +}; + +/* 18 */ +char *mint_logo[] = +{ + " " TNRM, + ""TLGN" MMMMMMMMMMMMMMMMMMMMMMMMMmds+. " TNRM, + ""TLGN" MMm----::-://////////////oymNMd+` " TNRM, + ""TLGN" MMd "TWHT"/++ "TLGN"-sNMd: " TNRM, + ""TLGN" MMNso/` "TWHT"dMM `.::-. .-::.` "TLGN".hMN: " TNRM, + ""TLGN" ddddMMh "TWHT"dMM :hNMNMNhNMNMNh: "TLGN"`NMm " TNRM, + ""TLGN" NMm "TWHT"dMM .NMN/-+MMM+-/NMN` "TLGN"dMM " TNRM, + ""TLGN" NMm "TWHT"dMM -MMm `MMM dMM. "TLGN"dMM " TNRM, + ""TLGN" NMm "TWHT"dMM -MMm `MMM dMM. "TLGN"dMM " TNRM, + ""TLGN" NMm "TWHT"dMM .mmd `mmm yMM. "TLGN"dMM " TNRM, + ""TLGN" NMm "TWHT"dMM` ..` ... ydm. "TLGN"dMM " TNRM, + ""TLGN" hMM- "TWHT"+MMd/-------...-:sdds "TLGN"dMM " TNRM, + ""TLGN" -NMm- "TWHT":hNMNNNmdddddddddy/` "TLGN"dMM " TNRM, + ""TLGN" -dMNs-"TWHT"``-::::-------.`` "TLGN"dMM " TNRM, + ""TLGN" `/dMNmy+/:-------------:/yMMM " TNRM, + ""TLGN" ./ydNMMMMMMMMMMMMMMMMMMMMM " TNRM, + ""TLGN" .MMMMMMMMMMMMMMMMMMM " TNRM, + " " TNRM +}; + +/* 18 */ +char *lmde_logo[] = +{ + " "TWHT"`.-::---.. " TNRM, + ""TLGN" .:++++ooooosssoo:. " TNRM, + ""TLGN" .+o++::. `.:oos+. " TNRM, + ""TLGN" :oo:.` -+oo"TWHT": " TNRM, + ""TLGN" "TWHT"`"TLGN"+o/` ."TWHT"::::::"TLGN"-. .++-"TWHT"` " TNRM, + ""TLGN" "TWHT"`"TLGN"/s/ .yyyyyyyyyyo: +o-"TWHT"` " TNRM, + ""TLGN" "TWHT"`"TLGN"so .ss ohyo` :s-"TWHT": " TNRM, + ""TLGN" "TWHT"`"TLGN"s/ .ss h m myy/ /s`"TWHT"` " TNRM, + ""TLGN" `s: `oo s m Myy+-o:` " TNRM, + ""TLGN" `oo :+sdoohyoydyso/. " TNRM, + ""TLGN" :o. .:////////++: " TNRM, + ""TLGN" `/++ "TWHT"-:::::- " TNRM, + ""TLGN" "TWHT"`"TLGN"++- " TNRM, + ""TLGN" "TWHT"`"TLGN"/+- " TNRM, + ""TLGN" "TWHT"."TLGN"+/. " TNRM, + ""TLGN" "TWHT"."TLGN":+-. " TNRM, + ""TLGN" `--.`` " TNRM, + " " TNRM +}; + +/* 18 */ +char *ubuntu_logo[] = +{ + ""TLRD" ./+o+- " TNRM, + ""TWHT" yyyyy- "TLRD"-yyyyyy+ " TNRM, + ""TWHT" "TWHT"://+//////"TLRD"-yyyyyyo " TNRM, + ""TYLW" .++ "TWHT".:/++++++/-"TLRD".+sss/` " TNRM, + ""TYLW" .:++o: "TWHT"/++++++++/:--:/- " TNRM, + ""TYLW" o:+o+:++."TWHT"`..```.-/oo+++++/ " TNRM, + ""TYLW" .:+o:+o/."TWHT" `+sssoo+/ " TNRM, + ""TWHT" .++/+:"TYLW"+oo+o:`"TWHT" /sssooo. " TNRM, + ""TWHT" /+++//+:"TYLW"`oo+o"TWHT" /::--:. " TNRM, + ""TWHT" +/+o+++"TYLW"`o++o"TLRD" ++////. " TNRM, + ""TWHT" .++.o+"TYLW"++oo+:`"TLRD" /dddhhh. " TNRM, + ""TYLW" .+.o+oo:."TLRD" `oddhhhh+ " TNRM, + ""TYLW" +.++o+o``-``"TLRD"``.:ohdhhhhh+ " TNRM, + ""TYLW" `:o+++ "TLRD"`ohhhhhhhhyo++os: " TNRM, + ""TYLW" .o:"TLRD"`.syhhhhhhh/"TYLW".oo++o` " TNRM, + ""TLRD" /osyyyyyyo"TYLW"++ooo+++/ " TNRM, + ""TLRD" ````` "TYLW"+oo+++o: " TNRM, + ""TYLW" `oo++. " TNRM +}; + +/* 18 */ +char *debian_logo[] = +{ + " "TWHT" _,met$$$$$gg. " TNRM, + " "TWHT" ,g$$$$$$$$$$$$$$$P. " TNRM, + " "TWHT" ,g$$P\"\" \"\"\"Y$$.\". " TNRM, + " "TWHT" ,$$P' `$$$. " TNRM, + " "TWHT"',$$P ,ggs. `$$b: " TNRM, + " "TWHT"`d$$' ,$P\"\' "TLRD"."TWHT" $$$ " TNRM, + " "TWHT" $$P d$\' "TLRD","TWHT" $$P " TNRM, + " "TWHT" $$: $$. "TLRD"-"TWHT" ,d$$' " TNRM, + " "TWHT" $$; Y$b._ _,d$P' " TNRM, + " "TWHT" Y$$. "TLRD"`."TWHT"`\"Y$$$$P\"' " TNRM, + " "TWHT" `$$b "TLRD"\"-.__ " TNRM, + " "TWHT" `Y$$ " TNRM, + " "TWHT" `Y$$. " TNRM, + " "TWHT" `$$b. " TNRM, + " "TWHT" `Y$$b. " TNRM, + " "TWHT" `\"Y$b._ " TNRM, + " "TWHT" `\"\"\"\" " TNRM, + " " TNRM +}; + +/* 18 */ +char *crunchbang_logo[] = +{ + " "TNRM"", + " "TWHT"███ "TWHT"███ "TWHT"███ "TNRM"", + " "TWHT"███ "TWHT"███ "TWHT"███ "TNRM"", + " "TWHT"███ "TWHT"███ "TWHT"███ "TNRM"", + " "TWHT"███ "TWHT"███ "TWHT"███ "TNRM"", + " "TWHT"████████████████████████████ "TWHT"███ "TNRM"", + " "TWHT"████████████████████████████ "TWHT"███ "TNRM"", + " "TWHT"███ "TWHT"███ "TWHT"███ "TNRM"", + " "TWHT"███ "TWHT"███ "TWHT"███ "TNRM"", + " "TWHT"███ "TWHT"███ "TWHT"███ "TNRM"", + " "TWHT"███ "TWHT"███ "TWHT"███ "TNRM"", + " "TWHT"████████████████████████████ "TWHT"███ "TNRM"", + " "TWHT"████████████████████████████ "TWHT"███ "TNRM"", + " "TWHT"███ "TWHT"███ "TNRM"", + " "TWHT"███ "TWHT"███ "TNRM"", + " "TWHT"███ "TWHT"███ "TWHT"███ "TNRM"", + " "TWHT"███ "TWHT"███ "TWHT"███ "TNRM"", + " "TNRM"" +}; + +/* 18 */ +char *gentoo_logo[] = +{ + ""TLPR" -/oyddmdhs+:. " TNRM, + ""TLPR" -o"TWHT"dNMMMMMMMMNNmhy+"TLPR"-` " TNRM, + ""TLPR" -y"TWHT"NMMMMMMMMMMMNNNmmdhy"TLPR"+- " TNRM, + ""TLPR" `o"TWHT"mMMMMMMMMMMMMNmdmmmmddhhy"TLPR"/` " TNRM, + ""TLPR" om"TWHT"MMMMMMMMMMMN"TLPR"hhyyyo"TWHT"hmdddhhhd"TLPR"o` " TNRM, + ""TLPR".y"TWHT"dMMMMMMMMMMd"TLPR"hs++so/s"TWHT"mdddhhhhdm"TLPR"+` " TNRM, + ""TLPR" oy"TWHT"hdmNMMMMMMMN"TLPR"dyooy"TWHT"dmddddhhhhyhN"TLPR"d. " TNRM, + ""TLPR" :o"TWHT"yhhdNNMMMMMMMNNNmmdddhhhhhyym"TLPR"Mh " TNRM, + ""TLPR" .:"TWHT"+sydNMMMMMNNNmmmdddhhhhhhmM"TLPR"my " TNRM, + ""TLPR" /m"TWHT"MMMMMMNNNmmmdddhhhhhmMNh"TLPR"s: " TNRM, + ""TLPR" `o"TWHT"NMMMMMMMNNNmmmddddhhdmMNhs"TLPR"+` " TNRM, + ""TLPR" `s"TWHT"NMMMMMMMMNNNmmmdddddmNMmhs"TLPR"/. " TNRM, + ""TLPR" /N"TWHT"MMMMMMMMNNNNmmmdddmNMNdso"TLPR":` " TNRM, + ""TLPR"+M"TWHT"MMMMMMNNNNNmmmmdmNMNdso"TLPR"/- " TNRM, + ""TLPR"yM"TWHT"MNNNNNNNmmmmmNNMmhs+/"TLPR"-` " TNRM, + ""TLPR"/h"TWHT"MMNNNNNNNNMNdhs++/"TLPR"-` " TNRM, + ""TLPR"`/"TWHT"ohdmmddhys+++/:"TLPR".` " TNRM, + ""TLPR" `-//////:--. " TNRM +}; + +/* 18 */ +char *funtoo_logo[] = +{ + " " TNRM, + " " TNRM, + " " TNRM, + " " TNRM, + TWHT " _______ ____ " TNRM, + TWHT " /MMMMMMM/ /MMMM| _____ _____ " TNRM, + TWHT " __/M"TLPR".MMM."TWHT"M/_____________|M"TLPR".M"TWHT"MM|/MMMMM\\/MMMMM\\ " TNRM, + TWHT "|MMMM"TLPR"MM'"TWHT"MMMMMMMMMMMMMMMMMMM"TLPR"MM"TWHT"MMMM"TLPR".MMMM..MMMM."TWHT"MM\\ " TNRM, + TWHT "|MM"TLPR"MMMMMMM"TWHT"/m"TLPR"MMMMMMMMMMMMMMMMMMMMMM"TWHT"MMMM"TLPR"MM"TWHT"MMMM"TLPR"MM"TWHT"MM| " TNRM, + TWHT "|MMMM"TLPR"MM"TWHT"MMM"TLPR"MM"TWHT"MM"TLPR"MM"TWHT"MM"TLPR"MM"TWHT"MMMMM"TLPR"\\MMM"TWHT"MMM"TLPR"MM"TWHT"MMMM"TLPR"MM"TWHT"MMMM"TLPR"MM"TWHT"MM| " TNRM, + TWHT " |MM"TLPR"MM"TWHT"MMM"TLPR"MM"TWHT"MM"TLPR"MM"TWHT"MM"TLPR"MM"TWHT"MM"TLPR"MM"TWHT"MM"TLPR"MMM"TWHT"MMMM"TLPR"'MMMM''MMMM'"TWHT"MM/ " TNRM, + TWHT " |MM"TLPR"MM"TWHT"MMM"TLPR"MM"TWHT"MM"TLPR"MM"TWHT"MM"TLPR"MM"TWHT"MM"TLPR"MM"TWHT"MM"TLPR"MMM"TWHT"MMM\\MMMMM/\\MMMMM/ " TNRM, + TWHT " |MM"TLPR"MM"TWHT"MMM"TLPR"MM"TWHT"MMMMMM"TLPR"MM"TWHT"MM"TLPR"MM"TWHT"MM"TLPR"MMMMM'"TWHT"M| " TNRM, + TWHT " |MM"TLPR"MM"TWHT"MMM"TLPR"MMMMMMMMMMMMMMMMM MM'"TWHT"M/ " TNRM, + TWHT " |MMMMMMMMMMMMMMMMMMMMMMMMMMMM/ " TNRM, + " " TNRM, + " " TNRM, + " " TNRM +}; + +/* 18 */ +char *fedora_logo[] = +{ + ""TLBL" :/------------:// " TNRM, + ""TLBL" :------------------:// " TNRM, + ""TLBL" :-----------"TWHT"/shhdhyo/"TLBL"-:// " TNRM, + ""TLBL" /-----------"TWHT"omMMMNNNMMMd/"TLBL"-:/ " TNRM, + ""TLBL" :-----------"TWHT"sMMMdo:/"TLBL" -:/ " TNRM, + ""TLBL" :-----------"TWHT":MMMd"TLBL"------- --:/ " TNRM, + ""TLBL" /-----------"TWHT":MMMy"TLBL"------- ---/ " TNRM, + ""TLBL" :------ --"TWHT"/+MMMh/"TLBL"-- ---: " TNRM, + ""TLBL" :--- "TWHT"oNMMMMMMMMMNho"TLBL" -----: " TNRM, + ""TLBL" :-- "TWHT"+shhhMMMmhhy++"TLBL" ------: " TNRM, + ""TLBL" :- -----"TWHT":MMMy"TLBL"--------------/ " TNRM, + ""TLBL" :- ------"TWHT"/MMMy"TLBL"-------------: " TNRM, + ""TLBL" :- ----"TWHT"/hMMM+"TLBL"------------: " TNRM, + ""TLBL" :--"TWHT":dMMNdhhdNMMNo"TLBL"-----------: " TNRM, + ""TLBL" :---"TWHT":sdNMMMMNds:"TLBL"----------: " TNRM, + ""TLBL" :------"TWHT":://:"TLBL"-----------:// " TNRM, + ""TLBL" :--------------------:// " TNRM, + " " TNRM +}; + +/* 18 */ +char *freebsd_logo[] = +{ + " " TNRM, + " "TWHT"``` "TLRD"` " TNRM, + " "TWHT"` `.....---..."TLRD"....--.``` -/ " TNRM, + " "TWHT"+o .--` "TLRD"/y:` +. " TNRM, + " "TWHT" yo`:. "TLRD":o `+- " TNRM, + " "TWHT"y/ "TLRD"-/` -o/ " TNRM, + " "TWHT".- "TLRD"::/sy+:. " TNRM, + " "TWHT"/ "TLRD"`-- / " TNRM, + " "TWHT"`: "TLRD":` " TNRM, + " "TWHT"`: "TLRD":` " TNRM, + " "TWHT"/ "TLRD"/ " TNRM, + " "TWHT".- "TLRD"-. " TNRM, + " "TWHT"-- "TLRD"-. " TNRM, + " "TWHT"`:` "TLRD"`:` " TNRM, + " "TLRD".-- `--. " TNRM, + " "TLRD" .---.....----. " TNRM, + " " TNRM, + " " TNRM +}; + +/* 23 */ +char *openbsd_logo[] = +{ + " "TLCY" _ "TNRM"", + " "TLCY"(_) "TNRM"", + ""TYLW" | . "TNRM"", + ""TYLW" . |L /| . "TLCY" _ " TNRM, + ""TYLW" _ . |\\ _| \\--+._/| . "TLCY"(_) " TNRM, + ""TYLW" / ||\\| Y J ) / |/| ./ " TNRM, + ""TYLW" J |)'( | \\` F\\`.'/ "TLCY" _ " TNRM, + ""TYLW" -<| F __ .-< "TLCY"(_) " TNRM, + ""TYLW" | / .-'"TLCY". "TYLW"\\`. /"TLCY"-. "TYLW"L___ " TNRM, + ""TYLW" J \\ < "TLCY"\\ "TYLW" | | "TDGY"O"TLCY"\\\\"TYLW"|.-' "TLCY" _ " TNRM, + ""TYLW" _J \\ .- \\\\"TLCY"/ "TDGY"O "TLCY"| "TYLW"| \\ |"TYLW"F "TLCY"(_) " TNRM, + ""TYLW" '-F -<_. \\ .-' \\`-' L__ " TNRM, + ""TYLW"__J _ _. >-' "TBRN")"TLRD"._. "TYLW"|-' "TNRM, + ""TYLW" \\`-|.' /_. "TLRD"\\_| "TYLW" F "TNRM, + ""TYLW" /.- . _.< " TNRM, + ""TYLW" /' /.' .' \\`\\ " TNRM, + ""TYLW" /L /' |/ _.-'-\\ "TNRM, + ""TYLW" /'J ___.---'\\| " TNRM, + ""TYLW" |\\ .--' V | \\`. \\` "TNRM, + ""TYLW" |/\\`. \\`-. \\`._) " TNRM, + ""TYLW" / .-.\\ " TNRM, + ""TYLW" \\ ( \\`\\ "TNRM"", + ""TYLW" \\`.\\ "TNRM"" +}; + +/* 18 */ +char *dragonflybsd_logo[] = +{ + " "TLRD" | " TNRM, + " "TLRD" .-. " TNRM, + " "TYLW" ()"TLRD"I"TYLW"() " TNRM, + " "TLRD" \"==.__:-:__.==\" " TNRM, + " "TLRD"\"==.__/~|~\\__.==\" " TNRM, + " "TLRD"\"==._( Y )_.==\" " TNRM, + " "TWHT".-'~~\"\"~=--...,__"TLRD"\\/|\\/"TWHT"__,...--=~\"\"~~'-. " TNRM, + " "TWHT"( ..="TLRD"\\\\="TLRD"/"TWHT"=.. )" TNRM, + " "TWHT"\\`'-. ,.-\"\\`;"TLRD"/=\\\\"TWHT" ;\"-.,_ .-'\\`" TNRM, + " "TWHT" \\`~\"-=-~\\` .-~\\` "TLRD"|=|"TWHT" \\`~-. \\`~-=-\"~\\` " TNRM, + " "TWHT" .-~\\` /"TLRD"|=|"TWHT"\\ \\`~-. " TNRM, + " "TWHT" .~\\` / "TLRD"|=|"TWHT" \\ \\`~. " TNRM, + " "TWHT" .-~\\` .' "TLRD"|=|"TWHT" \\\\\\`. \\`~-. " TNRM, + " "TWHT" (\\` _,.-=\"\\` "TLRD" |=|"TWHT" \\`\"=-.,_ \\`) " TNRM, + " "TWHT" \\`~\"~\"\\` "TLRD" |=|"TWHT" \\`\"~\"~\\` " TNRM, + " "TLRD" /=\\ " TNRM, + " "TLRD" \\=/ " TNRM, + " "TLRD" ^ " TNRM +}; + +/* 20 */ +char *netbsd_logo[] = +{ + " "TLRD"__,gnnnOCCCCCOObaau,_ " TNRM, + " "TWHT"_._ "TLRD"__,gnnCCCCCCCCOPF\"'' " TNRM, + " "TWHT"(N\\\\\\\\"TLRD"XCbngg,._____.,gnnndCCCCCCCCCCCCF\"___,,,,___ " TNRM, + " "TWHT"\\\\N\\\\\\\\"TLRD"XCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCOOOOPYvv. " TNRM, + " "TWHT"\\\\N\\\\\\\\"TLRD"XCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCPF\"'' " TNRM, + " "TWHT"\\\\N\\\\\\\\"TLRD"XCCCCCCCCCCCCCCCCCCCCCCCCCOF\"' " TNRM, + " "TWHT"\\\\N\\\\\\\\"TLRD"XCCCCCCCCCCCCCCCCCCCCOF\"' " TNRM, + " "TWHT"\\\\N\\\\\\\\"TLRD"XCCCCCCCCCCCCCCCPF\"' " TNRM, + " "TWHT"\\\\N\\\\\\\\"TLRD"\"PCOCCCOCCFP\"\" " TNRM, + " "TWHT"\\\\N\\ " TNRM, + " "TWHT"\\\\N\\ " TNRM, + " "TWHT"\\\\N\\ " TNRM, + " "TWHT"\\\\NN\\ " TNRM, + " "TWHT"\\\\NN\\ " TNRM, + " "TWHT"\\\\NNA. " TNRM, + " "TWHT"\\\\NNA, " TNRM, + " "TWHT"\\\\NNN, " TNRM, + " "TWHT"\\\\NNN\\ " TNRM, + " "TWHT"\\\\NNN\\ " TNRM, + " "TWHT"\\\\NNNA" TNRM +}; + +/* 18 */ +char *mandriva_mandrake_logo[] = +{ + " " TNRM, + ""TYLW" `` " TNRM, + ""TYLW" `-. " TNRM, + ""TLBL" ` "TYLW".--- " TNRM, + ""TLBL" -/ "TYLW"-::--` " TNRM, + ""TLBL" `++ "TYLW"`----...```-:::::. " TNRM, + ""TLBL" `os. "TYLW".::::::::::::::-``` ` ` " TNRM, + ""TLBL" +s+ "TYLW".::::::::::::::::---...--` " TNRM, + ""TLBL" -ss: "TYLW"`-::::::::::::::::-.``.`` " TNRM, + ""TLBL" /ss- "TYLW".::::::::::::-.`` ` " TNRM, + ""TLBL" +ss: "TYLW".::::::::::::- " TNRM, + ""TLBL" /sso "TYLW".::::::-::::::- " TNRM, + ""TLBL" .sss/ "TYLW"-:::-.` .::::: " TNRM, + ""TLBL" /sss+. "TYLW"..`"TLBL" `--` "TYLW".::: " TNRM, + ""TLBL" -ossso+/:://+/-` "TYLW".:` " TNRM, + ""TLBL" -/+ooo+/-. "TYLW"` " TNRM, + " " TNRM, + " " TNRM +}; + +/* 18 */ +char *opensuse_logo[] = +{ + ""TWHT" .;ldkO0000Okdl;. " TNRM, + ""TWHT" .;d00xl:,'....';:ok00d;. " TNRM, + ""TWHT" .d00l' ,o00d. " TNRM, + ""TWHT" .d0Kd."TLGN" :Okxol:;'. "TWHT":O0d. " TNRM, + ""TWHT" 'OK"TLGN"KKK0kOKKKKKKKKKKOxo:' "TWHT"lKO' " TNRM, + ""TWHT" ,0K"TLGN"KKKKKKKKKKKKKKK0d:"TWHT",,,"TLGN":dx:"TWHT" ;00, " TNRM, + ""TWHT" .OK"TLGN"KKKKKKKKKKKKKKKk."TWHT".oOkdl."TLGN"'0k."TWHT" cKO. " TNRM, + ""TWHT" :KK"TLGN"KKKKKKKKKKKKKKK: "TWHT"kKx..od "TLGN"lKd"TWHT" .OK: " TNRM, + ""TWHT" dKK"TLGN"KKKKKKKKKOx0KKKd "TWHT";0KKKO, "TLGN"kKKc"TWHT" dKd " TNRM, + ""TWHT" dKK"TLGN"KKKKKKKKKK;.;oOKx,.."TWHT"'"TLGN"..;kKKK0."TWHT" dKd " TNRM, + ""TWHT" :KK"TLGN"KKKKKKKKKK0o;...;cdxxOK0Oxc,. "TWHT".0K: " TNRM, + ""TWHT" kKK"TLGN"KKKKKKKKKKKKK0xl;'......,cdo "TWHT"lKk " TNRM, + ""TWHT" '0K"TLGN"KKKKKKKKKKKKKKKKKKKK00KKOo; "TWHT"c00' " TNRM, + ""TWHT" .kK"TLGN"KKOxddxkOO00000Okxoc;'. "TWHT".dKk. " TNRM, + ""TWHT" l0Ko. .c00l. " TNRM, + ""TWHT" .l0Kk:. .;xK0l. " TNRM, + ""TWHT" ,lkK0xl:;,,,,;:ldO0kl, " TNRM, + ""TWHT" .':ldxkkkkxdl:'. " TNRM +}; + +/* 21 */ +char *slackware_logo[] = +{ + ""TLBL" :::::::", + ""TLBL" ::::::::::::::::::: " TNRM, + ""TLBL" ::::::::::::::::::::::::: " TNRM, + ""TLBL" ::::::::"TWHT"cllcccccllllllll"TLBL":::::: " TNRM, + ""TLBL" :::::::::"TWHT"lc dc"TLBL"::::::: " TNRM, + ""TLBL" ::::::::"TWHT"cl clllccllll oc"TLBL"::::::::: " TNRM, + ""TLBL" :::::::::"TWHT"o lc"TLBL"::::::::"TWHT"co oc"TLBL":::::::::: " TNRM, + ""TLBL" ::::::::::"TWHT"o cccclc"TLBL":::::"TWHT"clcc"TLBL":::::::::::: " TNRM, + ""TLBL" :::::::::::"TWHT"lc cclccclc"TLBL"::::::::::::: " TNRM, + ""TLBL" ::::::::::::::"TWHT"lcclcc lc"TLBL":::::::::::: " TNRM, + ""TLBL" ::::::::::"TWHT"cclcc"TLBL":::::"TWHT"lccclc oc"TLBL"::::::::::: " TNRM, + ""TLBL" ::::::::::"TWHT"o l"TLBL"::::::::::"TWHT"l lc"TLBL"::::::::::: " TNRM, + ""TLBL" :::::"TWHT"cll"TLBL":"TWHT"o clcllcccll o"TLBL"::::::::::: " TNRM, + ""TLBL" :::::"TWHT"occ"TLBL":"TWHT"o clc"TLBL"::::::::::: " TNRM, + ""TLBL" ::::"TWHT"ocl"TLBL":"TWHT"ccslclccclclccclclc"TLBL"::::::::::::: " TNRM, + ""TLBL" :::"TWHT"oclcccccccccccccllllllllllllll"TLBL"::::: " TNRM, + ""TLBL" ::"TWHT"lcc1lcccccccccccccccccccccccco"TLBL":::: " TNRM, + ""TLBL" :::::::::::::::::::::::::::::::: " TNRM, + ""TLBL" :::::::::::::::::::::::::::: " TNRM, + ""TLBL" ::::::::::::::::::::::" TNRM, + ""TLBL" ::::::::::::" TNRM +}; + +/* 18 */ +char *redhat_logo[] = +{ + " " TNRM, + ""TLRD" `.-..........` " TNRM, + ""TLRD" `////////::.`-/. " TNRM, + ""TLRD" -: ....-////////. " TNRM, + ""TLRD" //:-::///////////` " TNRM, + ""TLRD" `--::: `-://////////////: " TNRM, + ""TLRD" //////- ``.-:///////// .` " TNRM, + ""TLRD" `://////:-.` :///////::///:` " TNRM, + ""TLRD" .-/////////:---/////////////: " TNRM, + ""TLRD" .-://////////////////////. " TNRM, + ""TWHT" yMN+`.-"TLRD"::///////////////-` " TNRM, + ""TWHT" .-`:NMMNMs` `..-------..` " TNRM, + ""TWHT" MN+/mMMMMMhoooyysshsss " TNRM, + ""TWHT" MMM MMMMMMMMMMMMMMyyddMMM+ " TNRM, + ""TWHT" MMMM MMMMMMMMMMMMMNdyNMMh` hyhMMM " TNRM, + ""TWHT" MMMMMMMMMMMMMMMMyoNNNMMM+. MMMMMMMM " TNRM, + ""TWHT" MMNMMMNNMMMMMNM+ mhsMNyyyyMNMMMMsMM " TNRM, + " " TNRM +}; + +/* 23 */ +char *frugalware_logo[] = +{ + ""TLBL" `++/::-.` " TNRM, + ""TLBL" /o+++++++++/::-.` " TNRM, + ""TLBL" `o+++++++++++++++o++/::-.` " TNRM, + ""TLBL" /+++++++++++++++++++++++oo++/:-.`` " TNRM, + ""TLBL" .o+ooooooooooooooooooosssssssso++oo++/:-` " TNRM, + ""TLBL" ++osoooooooooooosssssssssssssyyo+++++++o: " TNRM, + ""TLBL" -o+ssoooooooooooosssssssssssssyyo+++++++s` " TNRM, + ""TLBL" o++ssoooooo++++++++++++++sssyyyyo++++++o: " TNRM, + ""TLBL" :o++ssoooooo"TWHT"/-------------"TLBL"+syyyyyo+++++oo " TNRM, + ""TLBL" `o+++ssoooooo"TWHT"/-----"TLBL"+++++ooosyyyyyyo++++os: " TNRM, + ""TLBL" /o+++ssoooooo"TWHT"/-----"TLBL"ooooooosyyyyyyyo+oooss " TNRM, + ""TLBL" .o++++ssooooos"TWHT"/------------"TLBL"syyyyyyhsosssy- " TNRM, + ""TLBL" ++++++ssooooss"TWHT"/-----"TLBL"+++++ooyyhhhhhdssssso " TNRM, + ""TLBL" -s+++++syssssss"TWHT"/-----"TLBL"yyhhhhhhhhhhhddssssy. " TNRM, + ""TLBL" sooooooyhyyyyyh"TWHT"/-----"TLBL"hhhhhhhhhhhddddyssy+ " TNRM, + ""TLBL" :yooooooyhyyyhhhyyyyyyhhhhhhhhhhdddddyssy` " TNRM, + ""TLBL" yoooooooyhyyhhhhhhhhhhhhhhhhhhhddddddysy/ " TNRM, + ""TLBL"-ysooooooydhhhhhhhhhhhddddddddddddddddssy " TNRM, + ""TLBL" .-:/+osssyyyysyyyyyyyyyyyyyyyyyyyyyyssy: " TNRM, + ""TLBL" ``.-/+oosysssssssssssssssssssssss " TNRM, + ""TLBL" ``.:/+osyysssssssssssssh. " TNRM, + ""TLBL" `-:/+osyyssssyo", + ""TLBL" .-:+++`" TNRM +}; + +/* 19 */ +char *peppermint_logo[] = +{ + ""TLRD" 8ZZZZZZ"TWHT"MMMMM " TNRM, + ""TLRD" .ZZZZZZZZZ"TWHT"MMMMMMM. " TNRM, + ""TWHT" MM"TLRD"ZZZZZZZZZ"TWHT"MMMMMMM"TLRD"ZZZZ " TNRM, + ""TWHT" MMMMM"TLRD"ZZZZZZZZ"TWHT"MMMMM"TLRD"ZZZZZZZM " TNRM, + ""TWHT" MMMMMMM"TLRD"ZZZZZZZ"TWHT"MMMM"TLRD"ZZZZZZZZZ. " TNRM, + ""TWHT" MMMMMMMMM"TLRD"ZZZZZZ"TWHT"MMM"TLRD"ZZZZZZZZZZZI " TNRM, + ""TWHT" MMMMMMMMMMM"TLRD"ZZZZZZ"TWHT"MM"TLRD"ZZZZZZZZZZ"TWHT"MMM " TNRM, + ""TLRD" .ZZZ"TWHT"MMMMMMMMMM"TLRD"IZZ"TWHT"MM"TLRD"ZZZZZ"TWHT"MMMMMMMMM " TNRM, + ""TLRD" ZZZZZZZ"TWHT"MMMMMMMM"TLRD"ZZ"TWHT"M"TLRD"ZZZZ"TWHT"MMMMMMMMMMM " TNRM, + ""TLRD" ZZZZZZZZZZZZZZZZ"TWHT"M"TLRD"Z"TWHT"MMMMMMMMMMMMMMM " TNRM, + ""TLRD" .ZZZZZZZZZZZZZ"TWHT"MMM"TLRD"Z"TWHT"M"TLRD"ZZZZZZZZZZ"TWHT"MMMM " TNRM, + ""TLRD" .ZZZZZZZZZZZ"TWHT"MMM"TLRD"7ZZ"TWHT"MM"TLRD"ZZZZZZZZZZ7"TWHT"M " TNRM, + ""TLRD" ZZZZZZZZZ"TWHT"MMMM"TLRD"ZZZZ"TWHT"MMMM"TLRD"ZZZZZZZ77 " TNRM, + ""TWHT" MMMMMMMMMMMM"TLRD"ZZZZZ"TWHT"MMMM"TLRD"ZZZZZ77 " TNRM, + ""TWHT" MMMMMMMMMM"TLRD"7ZZZZZZ"TWHT"MMMMM"TLRD"ZZ77 " TNRM, + ""TWHT" .MMMMMMM"TLRD"ZZZZZZZZ"TWHT"MMMMM"TLRD"Z7Z " TNRM, + ""TWHT" MMMMM"TLRD"ZZZZZZZZZ"TWHT"MMMMMMM " TNRM, + ""TLRD" NZZZZZZZZZZZ"TWHT"MMMMM " TNRM, + ""TLRD" ZZZZZZZZZ"TWHT"MM" TNRM +}; + +/* 18 */ +char *solusos_logo[] = +{ + ""TWHT" e e " TNRM, + ""TWHT" eee ee " TNRM, + ""TWHT" eeee eee " TNRM, + ""TDGY" wwwwwwwww"TWHT"eeeeee " TNRM, + ""TDGY" wwwwwwwwwwwwwww"TWHT"eee " TNRM, + ""TDGY" wwwwwwwwwwwwwwwwwww"TWHT"eeeeeeee " TNRM, + ""TDGY" wwwww "TWHT"eeeee"TDGY"wwwwww"TWHT"eeee " TNRM, + ""TDGY" www "TWHT"eeee"TDGY"wwwwww"TWHT"e " TNRM, + ""TDGY" ww "TWHT"ee"TDGY"wwwwww " TNRM, + ""TDGY" w wwwww " TNRM, + ""TDGY" wwwww " TNRM, + ""TDGY" wwwww " TNRM, + ""TDGY" wwwww " TNRM, + ""TDGY" wwww " TNRM, + ""TDGY" wwww " TNRM, + ""TDGY" wwww " TNRM, + ""TDGY" www " TNRM, + ""TDGY" ww " TNRM +}; + +/* 18 */ +char *mageia_logo[] = +{ + ""TLCY" .°°. " TNRM, + ""TLCY" °° .°°. " TNRM, + ""TLCY" .°°°. °° " TNRM, + ""TLCY" . . " TNRM, + ""TLCY" °°° .°°°. " TNRM, + ""TLCY" .°°°. '___' " TNRM, + ""TWHT" ."TLCY"'___' "TWHT" . " TNRM, + ""TWHT" :dkxc;'. ..,cxkd; " TNRM, + ""TWHT" .dkk. kkkkkkkkkk .kkd. " TNRM, + ""TWHT" .dkk. ';cloolc;. .kkd " TNRM, + ""TWHT" ckk. .kk; " TNRM, + ""TWHT" xO: cOd " TNRM, + ""TWHT" xO: lOd " TNRM, + ""TWHT" lOO. .OO: " TNRM, + ""TWHT" .k00. .00x " TNRM, + ""TWHT" .k00; ;00O. " TNRM, + ""TWHT" .lO0Kc;,,,,,,;c0KOc. " TNRM, + ""TWHT" ;d00KKKKKK00d; " TNRM, + ""TWHT" .,KKKK,. " TNRM +}; + +/* 18 */ +char *parabolagnu_linuxlibre_logo[] = +{ + " " TNRM, + ""TLPR" eeeeeeeee " TNRM, + ""TLPR" eeeeeeeeeeeeeee " TNRM, + ""TLPR" eeeeee"TWHT"//////////"TLPR"eeeee " TNRM, + ""TLPR" eeeee"TWHT"///////////////"TLPR"eeeee " TNRM, + ""TLPR" eeeee"TWHT"/// ////"TLPR"eeee " TNRM, + ""TLPR" eeee"TWHT"// ///"TLPR"eeeee " TNRM, + ""TLPR" eee "TWHT"///"TLPR"eeeee " TNRM, + ""TLPR"ee "TWHT"//"TLPR"eeeeee " TNRM, + ""TLPR"e "TWHT"/"TLPR"eeeeeee " TNRM, + ""TLPR" eeeeeee " TNRM, + ""TLPR" eeeeee " TNRM, + ""TLPR" eeeeee " TNRM, + ""TLPR" eeeee " TNRM, + ""TLPR" eeee " TNRM, + ""TLPR" eee " TNRM, + ""TLPR" ee " TNRM, + ""TLPR" e " TNRM +}; + +/* 18 */ +char *viperr_logo[] = +{ + ""TWHT" wwzapd dlzazw " TNRM, + ""TWHT" an"TDGY"#"TWHT"zncmqzepweeirzpas"TDGY"#"TWHT"xz " TNRM, + ""TWHT" apez"TDGY"##"TWHT"qzdkawweemvmzdm"TDGY"##"TWHT"dcmv " TNRM, + ""TWHT"zwepd"TDGY"####"TWHT"qzdweewksza"TDGY"####"TWHT"ezqpa " TNRM, + ""TWHT"ezqpdkapeifjeeazezqpdkazdkwqz " TNRM, + ""TWHT" ezqpdksz"TDGY"##"TWHT"wepuizp"TDGY"##"TWHT"wzeiapdk " TNRM, + ""TWHT" zqpakdpa"TDGY"#"TWHT"azwewep"TDGY"#"TWHT"zqpdkqze " TNRM, + ""TWHT" apqxalqpewenwazqmzazq " TNRM, + ""TWHT" mn"TDGY"##"TWHT"=="TDGY"#######"TWHT"=="TDGY"##"TWHT"qp " TNRM, + ""TWHT" qw"TDGY"##"TWHT"="TDGY"#######"TWHT"="TDGY"##"TWHT"zl " TNRM, + ""TWHT" z0"TDGY"######"TWHT"="TDGY"######"TWHT"0a " TNRM, + ""TWHT" qp"TDGY"#####"TWHT"="TDGY"#####"TWHT"mq " TNRM, + ""TWHT" az"TDGY"####"TWHT"==="TDGY"####"TWHT"mn " TNRM, + ""TWHT" ap"TDGY"#########"TWHT"qz " TNRM, + ""TWHT" 9qlzskwdewz " TNRM, + ""TWHT" zqwpakaiw " TNRM, + ""TWHT" qoqpe " TNRM, + " " TNRM +}; + +/* 18 */ +char *linuxdeepin_logo[] = +{ + ""TLGN" eeeeeeeeeeeeeeeeeeeeeeeeeeee " TNRM, + ""TLGN" eee eeeeeee eeeeeeee " TNRM, + ""TLGN"ee eeeeeeeee eeeeeeeee ee " TNRM, + ""TLGN"e eeeeeeeee eeeeeeeee e " TNRM, + ""TLGN"e eeeeeee eeeeeeeeee e " TNRM, + ""TLGN"e eeeeee eeeee e " TNRM, + ""TLGN"e eeeee eee eee e " TNRM, + ""TLGN"e eeeee ee eeeeee e " TNRM, + ""TLGN"e eeeee eee eee e " TNRM, + ""TLGN"e eeeeeeeeee eeee e " TNRM, + ""TLGN"e eeeee eeee e " TNRM, + ""TLGN"e eeeeee e " TNRM, + ""TLGN"e eeeeeee e " TNRM, + ""TLGN"e eee eeeeeeee e " TNRM, + ""TLGN"eeeeeeeeeeeeeeee e " TNRM, + ""TLGN"eeeeeeeeeeeee ee " TNRM, + ""TLGN" eeeeeeeeeee eee " TNRM, + ""TLGN" eeeeeeeeeeeeeeeeeeeeeeeeeeee " TNRM, + " " TNRM +}; + +/* 18 */ +char *chakra_logo[] = +{ + ""TLBL" _ _ _ \"kkkkkkkk. " TNRM, + ""TLBL" ,kkkkkkkk., \'kkkkkkkkk, " TNRM, + ""TLBL" ,kkkkkkkkkkkk., \'kkkkkkkkk. " TNRM, + ""TLBL" ,kkkkkkkkkkkkkkkk,\'kkkkkkkk, " TNRM, + ""TLBL" ,kkkkkkkkkkkkkkkkkkk\'kkkkkkk. " TNRM, + ""TLBL" \"\'\'\"\'\'\',;::,,\"\'\'kkk\'\'kkkkk; __ " TNRM, + ""TLBL" ,kkkkkkkkkk, \"k\'\'kkkkk\' ,kkkk " TNRM, + ""TLBL" ,kkkkkkk\' ., \' .: \'kkkk\',kkkkkk " TNRM, + ""TLBL" ,kkkkkkkk\'.k\' , ,kkkk;kkkkkkkkk " TNRM, + ""TLBL" ,kkkkkkkk\';kk \'k \"\'k\',kkkkkkkkkkkk " TNRM, + ""TLBL" .kkkkkkkkk.kkkk.\'kkkkkkkkkkkkkkkkkk\' " TNRM, + ""TLBL" ;kkkkkkkk\'\'kkkkkk;\'kkkkkkkkkkkkk\'\' " TNRM, + ""TLBL" \'kkkkkkk; \'kkkkkkkk.,\"\"\'\'\"\'\'\"\" " TNRM, + ""TLBL" \'\'kkkk; \'kkkkkkkkkk., " TNRM, + ""TLBL" \';\' \'kkkkkkkkkkkk., " TNRM, + ""TLBL" ';kkkkkkkkkk\' " TNRM, + ""TLBL" ';kkkkkk\' " TNRM, + ""TLBL" \"\'\'\" " TNRM +}; + +/* 21 */ +char *fuduntu_logo[] = +{ + ""TDGY" `dwoapfjsod`"TYLW" `dwoapfjsod` " TNRM, + ""TDGY" `xdwdsfasdfjaapz`"TYLW" `dwdsfasdfjaapzx` " TNRM, + ""TDGY" `wadladfladlafsozmm`"TYLW" `wadladfladlafsozmm` " TNRM, + ""TDGY" `aodowpwafjwodisosoaas`"TYLW" `odowpwafjwodisosoaaso` " TNRM, + ""TDGY" `adowofaowiefawodpmmxs`"TYLW" `dowofaowiefawodpmmxso` " TNRM, + ""TDGY" `asdjafoweiafdoafojffw`"TYLW" `sdjafoweiafdoafojffwq` " TNRM, + ""TDGY" `dasdfjalsdfjasdlfjdd`"TYLW" `asdfjalsdfjasdlfjdda` " TNRM, + ""TDGY" `dddwdsfasdfjaapzxaw`"TYLW" `ddwdsfasdfjaapzxawo` " TNRM, + ""TDGY" `dddwoapfjsowzocmw`"TYLW" `ddwoapfjsowzocmwp` " TNRM, + ""TDGY" `ddasowjfowiejao`"TYLW" `dasowjfowiejaow` " TNRM, + " " TNRM, + ""TLRD" `ddasowjfowiejao`"TWHT" `dasowjfowiejaow` " TNRM, + ""TLRD" `dddwoapfjsowzocmw`"TWHT" `ddwoapfjsowzocmwp` " TNRM, + ""TLRD" `dddwdsfasdfjaapzxaw`"TWHT" `ddwdsfasdfjaapzxawo` " TNRM, + ""TLRD" `dasdfjalsdfjasdlfjdd`"TWHT" `asdfjalsdfjasdlfjdda` " TNRM, + ""TLRD" `asdjafoweiafdoafojffw`"TWHT" `sdjafoweiafdoafojffwq` " TNRM, + ""TLRD" `adowofaowiefawodpmmxs`"TWHT" `dowofaowiefawodpmmxso` " TNRM, + ""TLRD" `aodowpwafjwodisosoaas`"TWHT" `odowpwafjwodisosoaaso` " TNRM, + ""TLRD" `wadladfladlafsozmm`"TWHT" `wadladfladlafsozmm` " TNRM, + ""TLRD" `dwdsfasdfjaapzx`"TWHT" `dwdsfasdfjaapzx`" TNRM, + ""TLRD" `woapfjsod`"TWHT" `woapfjsod`" TNRM +}; + +/* 16 */ +char *macosx_logo[] = +{ + "\n"TGRN" -/+:. " TNRM, + ""TGRN" :++++. " TNRM, + ""TGRN" /+++/. " TNRM, + ""TGRN" .:-::- .+/:-``.::- " TNRM, + ""TGRN" .:/++++++/::::/++++++/:` " TNRM, + ""TBRN" .:///////////////////////:` " TNRM, + ""TBRN" ////////////////////////` " TNRM, + ""TLRD" -+++++++++++++++++++++++` " TNRM, + ""TLRD" /++++++++++++++++++++++/ " TNRM, + ""TRED" /sssssssssssssssssssssss. " TNRM, + ""TRED" :ssssssssssssssssssssssss- " TNRM, + ""TPUR" osssssssssssssssssssssssso/` " TNRM, + ""TPUR" `syyyyyyyyyyyyyyyyyyyyyyyy+` " TNRM, + ""TBLU" `ossssssssssssssssssssss/ " TNRM, + ""TBLU" :ooooooooooooooooooo+. " TNRM, + ""TBLU" `:+oo+/:-..-:/+o+/- "TNRM"", +}; + +/* 16 */ +char *windows_logo[] = +{ + ""TLRD" ,.=:!!t3Z3z., " TNRM, + ""TLRD" :tt:::tt333EE3 " TNRM, + ""TLRD" Et:::ztt33EEEL"TLGN" @Ee., .., " TNRM, + ""TLRD" ;tt:::tt333EE7"TLGN" ;EEEEEEttttt33# " TNRM, + ""TLRD" :Et:::zt333EEQ."TLGN" $EEEEEttttt33QL " TNRM, + ""TLRD" it::::tt333EEF"TLGN" @EEEEEEttttt33F " TNRM, + ""TLRD" ;3=*^```\"*4EEV"TLGN" :EEEEEEttttt33@. " TNRM, + ""TLBL" ,.=::::!t=., "TLRD"`"TLGN" @EEEEEEtttz33QF " TNRM, + ""TLBL" ;::::::::zt33)"TLGN" \"4EEEtttji3P* " TNRM, + ""TLBL" :t::::::::tt33."TYLW":Z3z.."TLGN" ``"TYLW" ,..g. " TNRM, + ""TLBL" i::::::::zt33F"TYLW" AEEEtttt::::ztF " TNRM, + ""TLBL" ;:::::::::t33V"TYLW" ;EEEttttt::::t3 " TNRM, + ""TLBL" E::::::::zt33L"TYLW" @EEEtttt::::z3F " TNRM, + ""TLBL"{3=*^```\"*4E3)"TYLW" ;EEEtttt:::::tZ` " TNRM, + ""TLBL" `"TYLW" :EEEEtttt::::z7 " TNRM, + ""TYLW" \"VEzjt:;;z>*` " TNRM +}; + +/* 18 */ +char *trisquel_logo[] = +{ + ""TLBL" ▄▄▄▄▄▄ " TNRM, + ""TLBL" ▄█████████▄ " TNRM, + ""TLBL" ▄▄▄▄▄▄ ████▀ ▀████ " TNRM, + ""TLBL" ▄██████████▄ ████▀ ▄▄ ▀███ " TNRM, + ""TLBL" ▄███▀▀ ▀▀████ ███▄ ▄█ ███ " TNRM, + ""TLBL" ▄███ ▄▄▄ ████▄ ▀██████ ▄███ " TNRM, + ""TLBL" ███ █▀▀██▄ █████▄ ▀▀ ▄████ " TNRM, + ""TLBL" ▀███ ███ ███████▄▄ ▄▄██████ " TNRM, + ""TLBL" ▀███▄ ▄███ █████████████"TLCY"████▀ " TNRM, + ""TLBL" ▀█████████ ███████"TLCY"███▀▀▀ " TNRM, + ""TLBL" ▀▀███▀▀ ██"TLCY"████▀▀ " TNRM, + ""TLCY" ██████▀ ▄▄▄▄ " TNRM, + ""TLCY" █████▀ ████████ " TNRM, + ""TLCY" █████ ███▀ ▀███ " TNRM, + ""TLCY" ████▄ ██▄▄▄ ███ " TNRM, + ""TLCY" █████▄ ▀▀ ▄██ " TNRM, + ""TLCY" ██████▄▄▄████ " TNRM, + ""TLCY" ▀▀█████▀▀ " TNRM +}; + +/* 18 */ +char *manjaro_logo[] = +{ + ""TLGN" ██████████████████ ████████ " TNRM, + ""TLGN" ██████████████████ ████████ " TNRM, + ""TLGN" ██████████████████ ████████ " TNRM, + ""TLGN" ██████████████████ ████████ " TNRM, + ""TLGN" ████████ ████████ " TNRM, + ""TLGN" ████████ ████████ ████████ " TNRM, + ""TLGN" ████████ ████████ ████████ " TNRM, + ""TLGN" ████████ ████████ " TNRM, + ""TLGN" ████████ ████████ ████████ " TNRM, + ""TLGN" ████████ ████████ ████████ " TNRM, + ""TLGN" ████████ ████████ ████████ " TNRM, + ""TLGN" ████████ ████████ ████████ " TNRM, + ""TLGN" ████████ ████████ ████████ " TNRM, + ""TLGN" ████████ ████████ ████████ " TNRM, + ""TLGN" ████████ ████████ ████████ " TNRM, + ""TLGN" ████████ ████████ ████████ " TNRM, + ""TLGN" ████████ ████████ ████████ " TNRM, + " " TNRM +}; + +/* 18 */ +char *elementaryos_logo[] = +{ + " ", + ""TWHT" $?77777$$$IO " TNRM, + ""TWHT" $III777ZZZZ$$$ZZ$8 " TNRM, + ""TWHT" ZI777 OZZZ$ " TNRM, + ""TWHT" Z777 O7ZZO8 " TNRM, + ""TWHT" Z777 O$ZZZ8 " TNRM, + ""TWHT" I$$ O$ZZZD " TNRM, + ""TWHT" 0$$O O$$ZZ " TNRM, + ""TWHT" 0$$O 8$$$$ " TNRM, + ""TWHT" 0$$O 8$$$$ " TNRM, + ""TWHT" $ZZ O$$ZZ D " TNRM, + ""TWHT" ZZZ8ZZZZ O88 " TNRM, + ""TWHT" DZZZZ8 D888 " TNRM, + ""TWHT" ZZZZDMMMMMMMMMMDO888 " TNRM, + ""TWHT" ZOOOOOOOOOOOO888 " TNRM, + ""TWHT" N8OOOOOOO8D " TNRM, + " " TNRM, + " " TNRM +}; + +/* 20 */ +char *scientificlinux_logo[] = +{ + ""TLBL" =/;;/- " TNRM, + ""TLBL" +: // " TNRM, + ""TLBL" /; /; " TNRM, + ""TLBL" -X H. " TNRM, + ""TLBL" .//;;;:;;-, X= :+ .-;:=;:;#;. " TNRM, + ""TLBL" M- ,=;;;#:, ,:#;;:=, ,@ " TNRM, + ""TLBL" :# :#.=/++++/=.$= #= " TNRM, + ""TLBL" ,#; #/:+/;,,/++:+/ ;+. " TNRM, + ""TLBL" ,+/. ,;@+, ,#H;, ,/+, " TNRM, + ""TLBL" ;+;;/= @. "TLRD".H"TWHT"#"TLRD"#X "TLBL"-X :///+; " TNRM, + ""TLBL" ;+=;;;.@, "TWHT".X"TLRD"M"TWHT"@$. "TLBL"=X.//;=#/. " TNRM, + ""TLBL" ,;: :@#= =$H: .+#- " TNRM, + ""TLBL" ,#= #;-///==///-// =#, " TNRM, + ""TLBL" ;+ :#-;;;:;;;;-X- +: " TNRM, + ""TLBL" @- .-;;;;M- =M/;;;-. -X " TNRM, + ""TLBL" :;;::;;-. #- :+ ,-;;-;:== " TNRM, + ""TLBL" ,X H. " TNRM, + ""TLBL" ;/ #= " TNRM, + ""TLBL" // +; " TNRM, + ""TLBL" '////'" TNRM +}; + +/* 20 */ +char *backtracklinux_logo[] = +{ + ""TWHT".............. " TNRM, + ""TWHT" ..,;:ccc,. " TNRM, + ""TWHT" ......''';lxO. " TNRM, + ""TWHT".....''''..........,:ld; " TNRM, + ""TWHT" .';;;:::;,,.x, " TNRM, + ""TWHT" ..'''. 0Xxoc:,. ... " TNRM, + ""TWHT" .... ,ONkc;,;cokOdc',. " TNRM, + ""TWHT" . OMo ':"TLRD"dd"TWHT"o. " TNRM, + ""TWHT" dMc :OO; " TNRM, + ""TWHT" 0M. .:o. " TNRM, + ""TWHT" ;Wd " TNRM, + ""TWHT" ;XO, " TNRM, + ""TWHT" ,d0Odlc;,.. " TNRM, + ""TWHT" ..',;:cdOOd::,. " TNRM, + ""TWHT" .:d;.':;. " TNRM, + ""TWHT" 'd, .' " TNRM, + ""TWHT" ;l .." TNRM, + ""TWHT" .o " TNRM, + ""TWHT" c " TNRM, + ""TWHT" .' " TNRM, + ""TWHT" . " TNRM +}; + +/* 18 */ +char *sabayon_logo[] = +{ + ""TLBL" ........... " TNRM, + ""TLBL" .. .. " TNRM, + ""TLBL" .. .. " TNRM, + ""TLBL" .. "TWHT"o "TLBL".. " TNRM, + ""TLBL" .. "TWHT":W' "TLBL".. " TNRM, + ""TLBL" .. "TWHT".d. "TLBL".. " TNRM, + ""TLBL":. "TWHT".KNO "TLBL".: " TNRM, + ""TLBL":. "TWHT"cNNN. "TLBL".: " TNRM, + ""TLBL": "TWHT"dXXX, "TLBL": " TNRM, + ""TLBL": "TWHT". dXXX, .cd, "TLBL": " TNRM, + ""TLBL": "TWHT"'kc .. dKKK. ,ll;:' "TLBL": " TNRM, + ""TLBL": "TWHT".xkkxc;..dkkkc',cxkkl "TLBL": " TNRM, + ""TLBL":. "TWHT".,cdddddddddddddo:. "TLBL".: " TNRM, + ""TLBL" .. "TWHT":lllllll: "TLBL".. " TNRM, + ""TLBL" .. "TWHT"',,,,, "TLBL".. " TNRM, + ""TLBL" .. .. " TNRM, + ""TLBL" .. .. " TNRM, + ""TLBL" ............... " TNRM +}; + +/* 16 */ +char *android_logo[] = +{ + ""TLGN" ▀▄ ▂▂▂▂▂ ▄▀ " TNRM, + ""TLGN " ▗▟█████████▙▖ " TNRM, + ""TLGN" ▟██▀▀█████▀▀██▙ " TNRM, + ""TLGN" ███▄▄█████▄▄███▌ " TNRM, + ""TLGN" █████████████████ " TNRM, + ""TLGN"▟█▙ ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ▟█▙" TNRM, + ""TLGN"███ █████████████████ ███" TNRM, + ""TLGN"███ █████████████████ ███" TNRM, + ""TLGN"███ █████████████████ ███" TNRM, + ""TLGN"███ █████████████████ ███" TNRM, + ""TLGN"███ █████████████████ ███" TNRM, + ""TLGN"▜█▛ █████████████████ ▜█▛" TNRM, + ""TLGN" ▀███████████████▀ " TNRM, + ""TLGN" ████ ████ " TNRM, + ""TLGN" ████ ████ " TNRM, + ""TLGN" ▜██▛ ▜██▛ " TNRM +}; + +/* 18 */ +char *linux_logo[] = +{ + " " TNRM, + " " TNRM, + " " TNRM, + ""TDGY" ##### " TNRM, + ""TDGY" ####### " TNRM, + ""TDGY" ##"TWHT"O"TDGY"#"TWHT"O"TDGY"## " TNRM, + ""TDGY" #"TYLW"#####"TDGY"# " TNRM, + ""TDGY" ##"TWHT"##"TYLW"###"TWHT"##"TDGY"## " TNRM, + ""TDGY" #"TWHT"##########"TDGY"## " TNRM, + ""TDGY" #"TWHT"############"TDGY"## " TNRM, + ""TDGY" #"TWHT"############"TDGY"### " TNRM, + ""TYLW" ##"TDGY"#"TWHT"###########"TDGY"##"TYLW"# " TNRM, + ""TYLW" ######"TDGY"#"TWHT"#######"TDGY"#"TYLW"###### " TNRM, + ""TYLW" #######"TDGY"#"TWHT"#####"TDGY"#"TYLW"####### " TNRM, + ""TYLW" #####"TDGY"#######"TYLW"##### " TNRM, + " " TNRM, + " " TNRM, + " " TNRM +}; + +/* 17 */ +char *solaris_logo[] = +{ + "MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM", + "MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM"TWHT"██"TNRM"MMMM$MMMMMMMMMMMM", + "MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM"TWHT"█"TNRM"MMMM"TWHT"██"TNRM"MMMM"TWHT"█"TNRM"MMMMMMMMMMMM", + "MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM"TWHT"████████████"TNRM"MMMMMMMMMMMM", + "MMMMMMMMMMMMMMMMMMMMMMMMMM"TWHT"██"TNRM"M"TWHT"██████████████"TNRM"MM"TWHT"███"TNRM"MMMMMMM", + "MMMMMMMMMMMMMMMMMMMMMMMMMMM"TWHT"████████████████████"TNRM"MMMMMMMM", + "MMMMMMMMMMMMMMMMMMMMMMMMMMM"TWHT"███████████████████"TNRM"MMMMMNMMM", + "MMMMMMMMMMMMMMMMMMMMM"TWHT"██████████████████████████████"TNRM"MMMM", + "MMMMMMMMMMMMMMMMMMMMMMMM"TWHT"█████████████████████████"TNRM"MMMMMM", + "=======================================================", + "MMM"TWHT"###"TNRM"NMMMMM"TWHT"####"TNRM"MMMM"TWHT"##"TNRM"MMMMMM"TWHT"####"TNRM"MMMMM"TWHT"#####"TNRM"MM"TWHT"##"TNRM"MMMM"TWHT"###"TNRM"MM", + "MM"TWHT"##"TNRM"MMMMMM"TWHT"###"TNRM"MM"TWHT"###"TNRM"MM"TWHT"##"TNRM"MMMM"TWHT"##"TNRM"MMM"TWHT"##"TNRM"MMMM"TWHT"###"TNRM"MMMM"TWHT"##"TNRM"MM"TWHT"###"TNRM"MMMM", + "M"TWHT"##"TNRM"MMMMMMM"TWHT"##"TNRM"MMMM"TWHT"##"TNRM"MM"TWHT"##"TNRM"MMMMMMMMMM"TWHT"##"TNRM"MMM"TWHT"##"TNRM"MMMMM"TWHT"##"TNRM"MM"TWHT"##"TNRM"MMMMM", + "MM"TWHT"####"TNRM"MMM"TWHT"###"TNRM"MMMM"TWHT"##"TNRM"MM"TWHT"##"TNRM"MMMMM"TWHT"#######"TNRM"MMM"TWHT"##"TNRM"MMMMM"TWHT"##"TNRM"MMM"TWHT"####"TNRM"MM", + "MMMMM"TWHT"###"TNRM"MM"TWHT"##"TNRM"MMMM"TWHT"##"TNRM"MM"TWHT"##"TNRM"MMMM"TWHT"##"TNRM"MMMM"TWHT"##"TNRM"MMM"TWHT"##"TNRM"MMMMM"TWHT"##"TNRM"MMMMMN"TWHT"##"TNRM"M", + "MMMMMM"TWHT"##"TNRM"MM"TWHT"###"TNRM"MM"TWHT"###"TNRM"MM"TWHT"##"TNRM"MMMM"TWHT"##"TNRM"MMM"TWHT"###"TNRM"MMM"TWHT"##"TNRM"MMMMM"TWHT"##"TNRM"MMMMMM"TWHT"##"TNRM"M", + "M"TWHT"######"TNRM"MMMMM"TWHT"####"TNRM"MMMM="TWHT"####"TNRM"MM"TWHT"#######"TNRM"MMM"TWHT"##"TNRM"MMMMM"TWHT"##"TNRM"MM"TWHT"#####"TNRM"MM" +}; + +/* 16 */ +char *angstrom_logo[] = +{ + " ", + " ", + " ", + " ", + ".---O---. ", + "| | .-. o o ", + "| | |-----.-----.-----.| | .----..-----.-----.", + "| | | __ | ---'| '--.| .-'| | |", + "| | | | | |--- || --'| | | ' | | | |", + "'---'---'--'--'--. |-----''----''--' '-----'-'-'-'", + " -' | ", + " '---' ", + " ", + " ", + " ", + " " +}; \ No newline at end of file diff --git a/src/logos.h b/src/logos.h index e3d1dc7..731c539 100644 --- a/src/logos.h +++ b/src/logos.h @@ -1,928 +1,53 @@ -/* screenfetch-c.h +/* logos.h Author: William Woodruff ------------- - The ASCII logos used by screenfetch-c are defined in this file. + The ASCII logos used by screenfetch-c are externalized in this file. Like the rest of screenfetch-c.c, this file is licensed under the MIT license. You should have received a copy of it with this code. */ -#ifndef LOGOS_H -#define LOGOS_H - -/* 18 */ -char *oldarch_logo[] = -{ - ""TWHT" __ " TNRM, - ""TWHT" _=(SDGJT=_ " TNRM, - ""TWHT" _GTDJHGGFCVS) " TNRM, - ""TWHT" ,GTDJGGDTDFBGX0 " TNRM, - ""TWHT" JDJDIJHRORVFSBSVL"TLBL"-=+=,_ " TNRM, - ""TWHT" IJFDUFHJNXIXCDXDSV,"TLBL" \"DEBL " TNRM, - ""TWHT" [LKDSDJTDU=OUSCSBFLD."TLBL" '?ZWX, " TNRM, - ""TWHT" ,LMDSDSWH' `DCBOSI"TLBL" DRDS], " TNRM, - ""TWHT" SDDFDFH' !YEWD,"TLBL" )HDROD " TNRM, - ""TWHT" !KMDOCG &GSU|"TLBL"_GFHRGO' " TNRM, - ""TWHT" HKLSGP'"TLBL" __"TWHT"TKM0"TLBL"GHRBV)' " TNRM, - ""TWHT" JSNRVW'"TLBL" __+MNAEC"TWHT"IOI,"TLBL"BN' " TNRM, - ""TWHT" HELK['"TLBL" __,=OFFXCBGHC"TWHT"FD) " TNRM, - ""TWHT" ?KGHE "TLBL"_-#DASDFLSV='"TWHT" 'EF " TNRM, - ""TWHT" 'EHTI !H " TNRM, - ""TWHT" `0F' '! " TNRM, - " " TNRM, - " " TNRM -}; - -/* 18 */ -char *arch_logo[] = -{ - ""TLCY" -` ", - ""TLCY" .o+` " TNRM, - ""TLCY" `ooo/ " TNRM, - ""TLCY" `+oooo: " TNRM, - ""TLCY" `+oooooo: " TNRM, - ""TLCY" -+oooooo+: " TNRM, - ""TLCY" `/:-:++oooo+: " TNRM, - ""TLCY" `/++++/+++++++: " TNRM, - ""TLCY" `/++++++++++++++: " TNRM, - ""TLCY" `/+++o"TCYN"oooooooo"TLCY"oooo/` " TNRM, - ""TCYN" "TLCY"./"TCYN"ooosssso++osssssso"TLCY"+` " TNRM, - ""TCYN" .oossssso-````/ossssss+` " TNRM, - ""TCYN" -osssssso. :ssssssso. " TNRM, - ""TCYN" :osssssss/ osssso+++. " TNRM, - ""TCYN" /ossssssss/ +ssssooo/- " TNRM, - ""TCYN" `/ossssso+/:- -:/+osssso+- " TNRM, - ""TCYN" `+sso+:-` `.-/+oso: " TNRM, - ""TCYN" `++:. `-/+/" TNRM, - ""TCYN" .` `/" TNRM -}; - -/* 18 */ -char *mint_logo[] = -{ - " " TNRM, - ""TLGN" MMMMMMMMMMMMMMMMMMMMMMMMMmds+. " TNRM, - ""TLGN" MMm----::-://////////////oymNMd+` " TNRM, - ""TLGN" MMd "TWHT"/++ "TLGN"-sNMd: " TNRM, - ""TLGN" MMNso/` "TWHT"dMM `.::-. .-::.` "TLGN".hMN: " TNRM, - ""TLGN" ddddMMh "TWHT"dMM :hNMNMNhNMNMNh: "TLGN"`NMm " TNRM, - ""TLGN" NMm "TWHT"dMM .NMN/-+MMM+-/NMN` "TLGN"dMM " TNRM, - ""TLGN" NMm "TWHT"dMM -MMm `MMM dMM. "TLGN"dMM " TNRM, - ""TLGN" NMm "TWHT"dMM -MMm `MMM dMM. "TLGN"dMM " TNRM, - ""TLGN" NMm "TWHT"dMM .mmd `mmm yMM. "TLGN"dMM " TNRM, - ""TLGN" NMm "TWHT"dMM` ..` ... ydm. "TLGN"dMM " TNRM, - ""TLGN" hMM- "TWHT"+MMd/-------...-:sdds "TLGN"dMM " TNRM, - ""TLGN" -NMm- "TWHT":hNMNNNmdddddddddy/` "TLGN"dMM " TNRM, - ""TLGN" -dMNs-"TWHT"``-::::-------.`` "TLGN"dMM " TNRM, - ""TLGN" `/dMNmy+/:-------------:/yMMM " TNRM, - ""TLGN" ./ydNMMMMMMMMMMMMMMMMMMMMM " TNRM, - ""TLGN" .MMMMMMMMMMMMMMMMMMM " TNRM, - " " TNRM -}; - -/* 18 */ -char *lmde_logo[] = -{ - " "TWHT"`.-::---.. " TNRM, - ""TLGN" .:++++ooooosssoo:. " TNRM, - ""TLGN" .+o++::. `.:oos+. " TNRM, - ""TLGN" :oo:.` -+oo"TWHT": " TNRM, - ""TLGN" "TWHT"`"TLGN"+o/` ."TWHT"::::::"TLGN"-. .++-"TWHT"` " TNRM, - ""TLGN" "TWHT"`"TLGN"/s/ .yyyyyyyyyyo: +o-"TWHT"` " TNRM, - ""TLGN" "TWHT"`"TLGN"so .ss ohyo` :s-"TWHT": " TNRM, - ""TLGN" "TWHT"`"TLGN"s/ .ss h m myy/ /s`"TWHT"` " TNRM, - ""TLGN" `s: `oo s m Myy+-o:` " TNRM, - ""TLGN" `oo :+sdoohyoydyso/. " TNRM, - ""TLGN" :o. .:////////++: " TNRM, - ""TLGN" `/++ "TWHT"-:::::- " TNRM, - ""TLGN" "TWHT"`"TLGN"++- " TNRM, - ""TLGN" "TWHT"`"TLGN"/+- " TNRM, - ""TLGN" "TWHT"."TLGN"+/. " TNRM, - ""TLGN" "TWHT"."TLGN":+-. " TNRM, - ""TLGN" `--.`` " TNRM, - " " TNRM -}; - -/* 18 */ -char *ubuntu_logo[] = -{ - ""TLRD" ./+o+- " TNRM, - ""TWHT" yyyyy- "TLRD"-yyyyyy+ " TNRM, - ""TWHT" "TWHT"://+//////"TLRD"-yyyyyyo " TNRM, - ""TYLW" .++ "TWHT".:/++++++/-"TLRD".+sss/` " TNRM, - ""TYLW" .:++o: "TWHT"/++++++++/:--:/- " TNRM, - ""TYLW" o:+o+:++."TWHT"`..```.-/oo+++++/ " TNRM, - ""TYLW" .:+o:+o/."TWHT" `+sssoo+/ " TNRM, - ""TWHT" .++/+:"TYLW"+oo+o:`"TWHT" /sssooo. " TNRM, - ""TWHT" /+++//+:"TYLW"`oo+o"TWHT" /::--:. " TNRM, - ""TWHT" +/+o+++"TYLW"`o++o"TLRD" ++////. " TNRM, - ""TWHT" .++.o+"TYLW"++oo+:`"TLRD" /dddhhh. " TNRM, - ""TYLW" .+.o+oo:."TLRD" `oddhhhh+ " TNRM, - ""TYLW" +.++o+o``-``"TLRD"``.:ohdhhhhh+ " TNRM, - ""TYLW" `:o+++ "TLRD"`ohhhhhhhhyo++os: " TNRM, - ""TYLW" .o:"TLRD"`.syhhhhhhh/"TYLW".oo++o` " TNRM, - ""TLRD" /osyyyyyyo"TYLW"++ooo+++/ " TNRM, - ""TLRD" ````` "TYLW"+oo+++o: " TNRM, - ""TYLW" `oo++. " TNRM -}; - -/* 18 */ -char *debian_logo[] = -{ - " "TWHT" _,met$$$$$gg. " TNRM, - " "TWHT" ,g$$$$$$$$$$$$$$$P. " TNRM, - " "TWHT" ,g$$P\"\" \"\"\"Y$$.\". " TNRM, - " "TWHT" ,$$P' `$$$. " TNRM, - " "TWHT"',$$P ,ggs. `$$b: " TNRM, - " "TWHT"`d$$' ,$P\"\' "TLRD"."TWHT" $$$ " TNRM, - " "TWHT" $$P d$\' "TLRD","TWHT" $$P " TNRM, - " "TWHT" $$: $$. "TLRD"-"TWHT" ,d$$' " TNRM, - " "TWHT" $$; Y$b._ _,d$P' " TNRM, - " "TWHT" Y$$. "TLRD"`."TWHT"`\"Y$$$$P\"' " TNRM, - " "TWHT" `$$b "TLRD"\"-.__ " TNRM, - " "TWHT" `Y$$ " TNRM, - " "TWHT" `Y$$. " TNRM, - " "TWHT" `$$b. " TNRM, - " "TWHT" `Y$$b. " TNRM, - " "TWHT" `\"Y$b._ " TNRM, - " "TWHT" `\"\"\"\" " TNRM, - " " TNRM -}; - -/* 18 */ -char *crunchbang_logo[] = -{ - " "TNRM"", - " "TWHT"███ "TWHT"███ "TWHT"███ "TNRM"", - " "TWHT"███ "TWHT"███ "TWHT"███ "TNRM"", - " "TWHT"███ "TWHT"███ "TWHT"███ "TNRM"", - " "TWHT"███ "TWHT"███ "TWHT"███ "TNRM"", - " "TWHT"████████████████████████████ "TWHT"███ "TNRM"", - " "TWHT"████████████████████████████ "TWHT"███ "TNRM"", - " "TWHT"███ "TWHT"███ "TWHT"███ "TNRM"", - " "TWHT"███ "TWHT"███ "TWHT"███ "TNRM"", - " "TWHT"███ "TWHT"███ "TWHT"███ "TNRM"", - " "TWHT"███ "TWHT"███ "TWHT"███ "TNRM"", - " "TWHT"████████████████████████████ "TWHT"███ "TNRM"", - " "TWHT"████████████████████████████ "TWHT"███ "TNRM"", - " "TWHT"███ "TWHT"███ "TNRM"", - " "TWHT"███ "TWHT"███ "TNRM"", - " "TWHT"███ "TWHT"███ "TWHT"███ "TNRM"", - " "TWHT"███ "TWHT"███ "TWHT"███ "TNRM"", - " "TNRM"" -}; - -/* 18 */ -char *gentoo_logo[] = -{ - ""TLPR" -/oyddmdhs+:. " TNRM, - ""TLPR" -o"TWHT"dNMMMMMMMMNNmhy+"TLPR"-` " TNRM, - ""TLPR" -y"TWHT"NMMMMMMMMMMMNNNmmdhy"TLPR"+- " TNRM, - ""TLPR" `o"TWHT"mMMMMMMMMMMMMNmdmmmmddhhy"TLPR"/` " TNRM, - ""TLPR" om"TWHT"MMMMMMMMMMMN"TLPR"hhyyyo"TWHT"hmdddhhhd"TLPR"o` " TNRM, - ""TLPR".y"TWHT"dMMMMMMMMMMd"TLPR"hs++so/s"TWHT"mdddhhhhdm"TLPR"+` " TNRM, - ""TLPR" oy"TWHT"hdmNMMMMMMMN"TLPR"dyooy"TWHT"dmddddhhhhyhN"TLPR"d. " TNRM, - ""TLPR" :o"TWHT"yhhdNNMMMMMMMNNNmmdddhhhhhyym"TLPR"Mh " TNRM, - ""TLPR" .:"TWHT"+sydNMMMMMNNNmmmdddhhhhhhmM"TLPR"my " TNRM, - ""TLPR" /m"TWHT"MMMMMMNNNmmmdddhhhhhmMNh"TLPR"s: " TNRM, - ""TLPR" `o"TWHT"NMMMMMMMNNNmmmddddhhdmMNhs"TLPR"+` " TNRM, - ""TLPR" `s"TWHT"NMMMMMMMMNNNmmmdddddmNMmhs"TLPR"/. " TNRM, - ""TLPR" /N"TWHT"MMMMMMMMNNNNmmmdddmNMNdso"TLPR":` " TNRM, - ""TLPR"+M"TWHT"MMMMMMNNNNNmmmmdmNMNdso"TLPR"/- " TNRM, - ""TLPR"yM"TWHT"MNNNNNNNmmmmmNNMmhs+/"TLPR"-` " TNRM, - ""TLPR"/h"TWHT"MMNNNNNNNNMNdhs++/"TLPR"-` " TNRM, - ""TLPR"`/"TWHT"ohdmmddhys+++/:"TLPR".` " TNRM, - ""TLPR" `-//////:--. " TNRM -}; - -/* 18 */ -char *funtoo_logo[] = -{ - " " TNRM, - " " TNRM, - " " TNRM, - " " TNRM, - TWHT " _______ ____ " TNRM, - TWHT " /MMMMMMM/ /MMMM| _____ _____ " TNRM, - TWHT " __/M"TLPR".MMM."TWHT"M/_____________|M"TLPR".M"TWHT"MM|/MMMMM\\/MMMMM\\ " TNRM, - TWHT "|MMMM"TLPR"MM'"TWHT"MMMMMMMMMMMMMMMMMMM"TLPR"MM"TWHT"MMMM"TLPR".MMMM..MMMM."TWHT"MM\\ " TNRM, - TWHT "|MM"TLPR"MMMMMMM"TWHT"/m"TLPR"MMMMMMMMMMMMMMMMMMMMMM"TWHT"MMMM"TLPR"MM"TWHT"MMMM"TLPR"MM"TWHT"MM| " TNRM, - TWHT "|MMMM"TLPR"MM"TWHT"MMM"TLPR"MM"TWHT"MM"TLPR"MM"TWHT"MM"TLPR"MM"TWHT"MMMMM"TLPR"\\MMM"TWHT"MMM"TLPR"MM"TWHT"MMMM"TLPR"MM"TWHT"MMMM"TLPR"MM"TWHT"MM| " TNRM, - TWHT " |MM"TLPR"MM"TWHT"MMM"TLPR"MM"TWHT"MM"TLPR"MM"TWHT"MM"TLPR"MM"TWHT"MM"TLPR"MM"TWHT"MM"TLPR"MMM"TWHT"MMMM"TLPR"'MMMM''MMMM'"TWHT"MM/ " TNRM, - TWHT " |MM"TLPR"MM"TWHT"MMM"TLPR"MM"TWHT"MM"TLPR"MM"TWHT"MM"TLPR"MM"TWHT"MM"TLPR"MM"TWHT"MM"TLPR"MMM"TWHT"MMM\\MMMMM/\\MMMMM/ " TNRM, - TWHT " |MM"TLPR"MM"TWHT"MMM"TLPR"MM"TWHT"MMMMMM"TLPR"MM"TWHT"MM"TLPR"MM"TWHT"MM"TLPR"MMMMM'"TWHT"M| " TNRM, - TWHT " |MM"TLPR"MM"TWHT"MMM"TLPR"MMMMMMMMMMMMMMMMM MM'"TWHT"M/ " TNRM, - TWHT " |MMMMMMMMMMMMMMMMMMMMMMMMMMMM/ " TNRM, - " " TNRM, - " " TNRM, - " " TNRM -}; - -/* 18 */ -char *fedora_logo[] = -{ - ""TLBL" :/------------:// " TNRM, - ""TLBL" :------------------:// " TNRM, - ""TLBL" :-----------"TWHT"/shhdhyo/"TLBL"-:// " TNRM, - ""TLBL" /-----------"TWHT"omMMMNNNMMMd/"TLBL"-:/ " TNRM, - ""TLBL" :-----------"TWHT"sMMMdo:/"TLBL" -:/ " TNRM, - ""TLBL" :-----------"TWHT":MMMd"TLBL"------- --:/ " TNRM, - ""TLBL" /-----------"TWHT":MMMy"TLBL"------- ---/ " TNRM, - ""TLBL" :------ --"TWHT"/+MMMh/"TLBL"-- ---: " TNRM, - ""TLBL" :--- "TWHT"oNMMMMMMMMMNho"TLBL" -----: " TNRM, - ""TLBL" :-- "TWHT"+shhhMMMmhhy++"TLBL" ------: " TNRM, - ""TLBL" :- -----"TWHT":MMMy"TLBL"--------------/ " TNRM, - ""TLBL" :- ------"TWHT"/MMMy"TLBL"-------------: " TNRM, - ""TLBL" :- ----"TWHT"/hMMM+"TLBL"------------: " TNRM, - ""TLBL" :--"TWHT":dMMNdhhdNMMNo"TLBL"-----------: " TNRM, - ""TLBL" :---"TWHT":sdNMMMMNds:"TLBL"----------: " TNRM, - ""TLBL" :------"TWHT":://:"TLBL"-----------:// " TNRM, - ""TLBL" :--------------------:// " TNRM, - " " TNRM -}; - -/* 18 */ -char *freebsd_logo[] = -{ - " " TNRM, - " "TWHT"``` "TLRD"` " TNRM, - " "TWHT"` `.....---..."TLRD"....--.``` -/ " TNRM, - " "TWHT"+o .--` "TLRD"/y:` +. " TNRM, - " "TWHT" yo`:. "TLRD":o `+- " TNRM, - " "TWHT"y/ "TLRD"-/` -o/ " TNRM, - " "TWHT".- "TLRD"::/sy+:. " TNRM, - " "TWHT"/ "TLRD"`-- / " TNRM, - " "TWHT"`: "TLRD":` " TNRM, - " "TWHT"`: "TLRD":` " TNRM, - " "TWHT"/ "TLRD"/ " TNRM, - " "TWHT".- "TLRD"-. " TNRM, - " "TWHT"-- "TLRD"-. " TNRM, - " "TWHT"`:` "TLRD"`:` " TNRM, - " "TLRD".-- `--. " TNRM, - " "TLRD" .---.....----. " TNRM, - " " TNRM, - " " TNRM -}; - -/* 23 */ -char *openbsd_logo[] = -{ - " "TLCY" _ "TNRM"", - " "TLCY"(_) "TNRM"", - ""TYLW" | . "TNRM"", - ""TYLW" . |L /| . "TLCY" _ " TNRM, - ""TYLW" _ . |\\ _| \\--+._/| . "TLCY"(_) " TNRM, - ""TYLW" / ||\\| Y J ) / |/| ./ " TNRM, - ""TYLW" J |)'( | \\` F\\`.'/ "TLCY" _ " TNRM, - ""TYLW" -<| F __ .-< "TLCY"(_) " TNRM, - ""TYLW" | / .-'"TLCY". "TYLW"\\`. /"TLCY"-. "TYLW"L___ " TNRM, - ""TYLW" J \\ < "TLCY"\\ "TYLW" | | "TDGY"O"TLCY"\\\\"TYLW"|.-' "TLCY" _ " TNRM, - ""TYLW" _J \\ .- \\\\"TLCY"/ "TDGY"O "TLCY"| "TYLW"| \\ |"TYLW"F "TLCY"(_) " TNRM, - ""TYLW" '-F -<_. \\ .-' \\`-' L__ " TNRM, - ""TYLW"__J _ _. >-' "TBRN")"TLRD"._. "TYLW"|-' "TNRM, - ""TYLW" \\`-|.' /_. "TLRD"\\_| "TYLW" F "TNRM, - ""TYLW" /.- . _.< " TNRM, - ""TYLW" /' /.' .' \\`\\ " TNRM, - ""TYLW" /L /' |/ _.-'-\\ "TNRM, - ""TYLW" /'J ___.---'\\| " TNRM, - ""TYLW" |\\ .--' V | \\`. \\` "TNRM, - ""TYLW" |/\\`. \\`-. \\`._) " TNRM, - ""TYLW" / .-.\\ " TNRM, - ""TYLW" \\ ( \\`\\ "TNRM"", - ""TYLW" \\`.\\ "TNRM"" -}; - -/* 18 */ -char *dragonflybsd_logo[] = -{ - " "TLRD" | " TNRM, - " "TLRD" .-. " TNRM, - " "TYLW" ()"TLRD"I"TYLW"() " TNRM, - " "TLRD" \"==.__:-:__.==\" " TNRM, - " "TLRD"\"==.__/~|~\\__.==\" " TNRM, - " "TLRD"\"==._( Y )_.==\" " TNRM, - " "TWHT".-'~~\"\"~=--...,__"TLRD"\\/|\\/"TWHT"__,...--=~\"\"~~'-. " TNRM, - " "TWHT"( ..="TLRD"\\\\="TLRD"/"TWHT"=.. )" TNRM, - " "TWHT"\\`'-. ,.-\"\\`;"TLRD"/=\\\\"TWHT" ;\"-.,_ .-'\\`" TNRM, - " "TWHT" \\`~\"-=-~\\` .-~\\` "TLRD"|=|"TWHT" \\`~-. \\`~-=-\"~\\` " TNRM, - " "TWHT" .-~\\` /"TLRD"|=|"TWHT"\\ \\`~-. " TNRM, - " "TWHT" .~\\` / "TLRD"|=|"TWHT" \\ \\`~. " TNRM, - " "TWHT" .-~\\` .' "TLRD"|=|"TWHT" \\\\\\`. \\`~-. " TNRM, - " "TWHT" (\\` _,.-=\"\\` "TLRD" |=|"TWHT" \\`\"=-.,_ \\`) " TNRM, - " "TWHT" \\`~\"~\"\\` "TLRD" |=|"TWHT" \\`\"~\"~\\` " TNRM, - " "TLRD" /=\\ " TNRM, - " "TLRD" \\=/ " TNRM, - " "TLRD" ^ " TNRM -}; - -/* 20 */ -char *netbsd_logo[] = -{ - " "TLRD"__,gnnnOCCCCCOObaau,_ " TNRM, - " "TWHT"_._ "TLRD"__,gnnCCCCCCCCOPF\"'' " TNRM, - " "TWHT"(N\\\\\\\\"TLRD"XCbngg,._____.,gnnndCCCCCCCCCCCCF\"___,,,,___ " TNRM, - " "TWHT"\\\\N\\\\\\\\"TLRD"XCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCOOOOPYvv. " TNRM, - " "TWHT"\\\\N\\\\\\\\"TLRD"XCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCPF\"'' " TNRM, - " "TWHT"\\\\N\\\\\\\\"TLRD"XCCCCCCCCCCCCCCCCCCCCCCCCCOF\"' " TNRM, - " "TWHT"\\\\N\\\\\\\\"TLRD"XCCCCCCCCCCCCCCCCCCCCOF\"' " TNRM, - " "TWHT"\\\\N\\\\\\\\"TLRD"XCCCCCCCCCCCCCCCPF\"' " TNRM, - " "TWHT"\\\\N\\\\\\\\"TLRD"\"PCOCCCOCCFP\"\" " TNRM, - " "TWHT"\\\\N\\ " TNRM, - " "TWHT"\\\\N\\ " TNRM, - " "TWHT"\\\\N\\ " TNRM, - " "TWHT"\\\\NN\\ " TNRM, - " "TWHT"\\\\NN\\ " TNRM, - " "TWHT"\\\\NNA. " TNRM, - " "TWHT"\\\\NNA, " TNRM, - " "TWHT"\\\\NNN, " TNRM, - " "TWHT"\\\\NNN\\ " TNRM, - " "TWHT"\\\\NNN\\ " TNRM, - " "TWHT"\\\\NNNA" TNRM -}; - -/* 18 */ -char *mandriva_mandrake_logo[] = -{ - " " TNRM, - ""TYLW" `` " TNRM, - ""TYLW" `-. " TNRM, - ""TLBL" ` "TYLW".--- " TNRM, - ""TLBL" -/ "TYLW"-::--` " TNRM, - ""TLBL" `++ "TYLW"`----...```-:::::. " TNRM, - ""TLBL" `os. "TYLW".::::::::::::::-``` ` ` " TNRM, - ""TLBL" +s+ "TYLW".::::::::::::::::---...--` " TNRM, - ""TLBL" -ss: "TYLW"`-::::::::::::::::-.``.`` " TNRM, - ""TLBL" /ss- "TYLW".::::::::::::-.`` ` " TNRM, - ""TLBL" +ss: "TYLW".::::::::::::- " TNRM, - ""TLBL" /sso "TYLW".::::::-::::::- " TNRM, - ""TLBL" .sss/ "TYLW"-:::-.` .::::: " TNRM, - ""TLBL" /sss+. "TYLW"..`"TLBL" `--` "TYLW".::: " TNRM, - ""TLBL" -ossso+/:://+/-` "TYLW".:` " TNRM, - ""TLBL" -/+ooo+/-. "TYLW"` " TNRM, - " " TNRM, - " " TNRM -}; - -/* tested, working */ -char *opensuse_logo[] = -{ - ""TWHT" .;ldkO0000Okdl;. " TNRM, - ""TWHT" .;d00xl:,'....';:ok00d;. " TNRM, - ""TWHT" .d00l' ,o00d. " TNRM, - ""TWHT" .d0Kd."TLGN" :Okxol:;'. "TWHT":O0d. " TNRM, - ""TWHT" 'OK"TLGN"KKK0kOKKKKKKKKKKOxo:' "TWHT"lKO' " TNRM, - ""TWHT" ,0K"TLGN"KKKKKKKKKKKKKKK0d:"TWHT",,,"TLGN":dx:"TWHT" ;00, " TNRM, - ""TWHT" .OK"TLGN"KKKKKKKKKKKKKKKk."TWHT".oOkdl."TLGN"'0k."TWHT" cKO. " TNRM, - ""TWHT" :KK"TLGN"KKKKKKKKKKKKKKK: "TWHT"kKx..od "TLGN"lKd"TWHT" .OK: " TNRM, - ""TWHT" dKK"TLGN"KKKKKKKKKOx0KKKd "TWHT";0KKKO, "TLGN"kKKc"TWHT" dKd " TNRM, - ""TWHT" dKK"TLGN"KKKKKKKKKK;.;oOKx,.."TWHT"'"TLGN"..;kKKK0."TWHT" dKd " TNRM, - ""TWHT" :KK"TLGN"KKKKKKKKKK0o;...;cdxxOK0Oxc,. "TWHT".0K: " TNRM, - ""TWHT" kKK"TLGN"KKKKKKKKKKKKK0xl;'......,cdo "TWHT"lKk " TNRM, - ""TWHT" '0K"TLGN"KKKKKKKKKKKKKKKKKKKK00KKOo; "TWHT"c00' " TNRM, - ""TWHT" .kK"TLGN"KKOxddxkOO00000Okxoc;'. "TWHT".dKk. " TNRM, - ""TWHT" l0Ko. .c00l. " TNRM, - ""TWHT" .l0Kk:. .;xK0l. " TNRM, - ""TWHT" ,lkK0xl:;,,,,;:ldO0kl, " TNRM, - ""TWHT" .':ldxkkkkxdl:'. " TNRM -}; - -/* 21 */ -char *slackware_logo[] = -{ - ""TLBL" :::::::", - ""TLBL" ::::::::::::::::::: " TNRM, - ""TLBL" ::::::::::::::::::::::::: " TNRM, - ""TLBL" ::::::::"TWHT"cllcccccllllllll"TLBL":::::: " TNRM, - ""TLBL" :::::::::"TWHT"lc dc"TLBL"::::::: " TNRM, - ""TLBL" ::::::::"TWHT"cl clllccllll oc"TLBL"::::::::: " TNRM, - ""TLBL" :::::::::"TWHT"o lc"TLBL"::::::::"TWHT"co oc"TLBL":::::::::: " TNRM, - ""TLBL" ::::::::::"TWHT"o cccclc"TLBL":::::"TWHT"clcc"TLBL":::::::::::: " TNRM, - ""TLBL" :::::::::::"TWHT"lc cclccclc"TLBL"::::::::::::: " TNRM, - ""TLBL" ::::::::::::::"TWHT"lcclcc lc"TLBL":::::::::::: " TNRM, - ""TLBL" ::::::::::"TWHT"cclcc"TLBL":::::"TWHT"lccclc oc"TLBL"::::::::::: " TNRM, - ""TLBL" ::::::::::"TWHT"o l"TLBL"::::::::::"TWHT"l lc"TLBL"::::::::::: " TNRM, - ""TLBL" :::::"TWHT"cll"TLBL":"TWHT"o clcllcccll o"TLBL"::::::::::: " TNRM, - ""TLBL" :::::"TWHT"occ"TLBL":"TWHT"o clc"TLBL"::::::::::: " TNRM, - ""TLBL" ::::"TWHT"ocl"TLBL":"TWHT"ccslclccclclccclclc"TLBL"::::::::::::: " TNRM, - ""TLBL" :::"TWHT"oclcccccccccccccllllllllllllll"TLBL"::::: " TNRM, - ""TLBL" ::"TWHT"lcc1lcccccccccccccccccccccccco"TLBL":::: " TNRM, - ""TLBL" :::::::::::::::::::::::::::::::: " TNRM, - ""TLBL" :::::::::::::::::::::::::::: " TNRM, - ""TLBL" ::::::::::::::::::::::" TNRM, - ""TLBL" ::::::::::::" TNRM -}; - -/* 18 */ -char *redhat_logo[] = -{ - " " TNRM, - ""TLRD" `.-..........` " TNRM, - ""TLRD" `////////::.`-/. " TNRM, - ""TLRD" -: ....-////////. " TNRM, - ""TLRD" //:-::///////////` " TNRM, - ""TLRD" `--::: `-://////////////: " TNRM, - ""TLRD" //////- ``.-:///////// .` " TNRM, - ""TLRD" `://////:-.` :///////::///:` " TNRM, - ""TLRD" .-/////////:---/////////////: " TNRM, - ""TLRD" .-://////////////////////. " TNRM, - ""TWHT" yMN+`.-"TLRD"::///////////////-` " TNRM, - ""TWHT" .-`:NMMNMs` `..-------..` " TNRM, - ""TWHT" MN+/mMMMMMhoooyysshsss " TNRM, - ""TWHT" MMM MMMMMMMMMMMMMMyyddMMM+ " TNRM, - ""TWHT" MMMM MMMMMMMMMMMMMNdyNMMh` hyhMMM " TNRM, - ""TWHT" MMMMMMMMMMMMMMMMyoNNNMMM+. MMMMMMMM " TNRM, - ""TWHT" MMNMMMNNMMMMMNM+ mhsMNyyyyMNMMMMsMM " TNRM, - " " TNRM -}; - -/* 23 */ -char *frugalware_logo[] = -{ - ""TLBL" `++/::-.` " TNRM, - ""TLBL" /o+++++++++/::-.` " TNRM, - ""TLBL" `o+++++++++++++++o++/::-.` " TNRM, - ""TLBL" /+++++++++++++++++++++++oo++/:-.`` " TNRM, - ""TLBL" .o+ooooooooooooooooooosssssssso++oo++/:-` " TNRM, - ""TLBL" ++osoooooooooooosssssssssssssyyo+++++++o: " TNRM, - ""TLBL" -o+ssoooooooooooosssssssssssssyyo+++++++s` " TNRM, - ""TLBL" o++ssoooooo++++++++++++++sssyyyyo++++++o: " TNRM, - ""TLBL" :o++ssoooooo"TWHT"/-------------"TLBL"+syyyyyo+++++oo " TNRM, - ""TLBL" `o+++ssoooooo"TWHT"/-----"TLBL"+++++ooosyyyyyyo++++os: " TNRM, - ""TLBL" /o+++ssoooooo"TWHT"/-----"TLBL"ooooooosyyyyyyyo+oooss " TNRM, - ""TLBL" .o++++ssooooos"TWHT"/------------"TLBL"syyyyyyhsosssy- " TNRM, - ""TLBL" ++++++ssooooss"TWHT"/-----"TLBL"+++++ooyyhhhhhdssssso " TNRM, - ""TLBL" -s+++++syssssss"TWHT"/-----"TLBL"yyhhhhhhhhhhhddssssy. " TNRM, - ""TLBL" sooooooyhyyyyyh"TWHT"/-----"TLBL"hhhhhhhhhhhddddyssy+ " TNRM, - ""TLBL" :yooooooyhyyyhhhyyyyyyhhhhhhhhhhdddddyssy` " TNRM, - ""TLBL" yoooooooyhyyhhhhhhhhhhhhhhhhhhhddddddysy/ " TNRM, - ""TLBL"-ysooooooydhhhhhhhhhhhddddddddddddddddssy " TNRM, - ""TLBL" .-:/+osssyyyysyyyyyyyyyyyyyyyyyyyyyyssy: " TNRM, - ""TLBL" ``.-/+oosysssssssssssssssssssssss " TNRM, - ""TLBL" ``.:/+osyysssssssssssssh. " TNRM, - ""TLBL" `-:/+osyyssssyo", - ""TLBL" .-:+++`" TNRM -}; - -/* 19 */ -char *peppermint_logo[] = -{ - ""TLRD" 8ZZZZZZ"TWHT"MMMMM " TNRM, - ""TLRD" .ZZZZZZZZZ"TWHT"MMMMMMM. " TNRM, - ""TWHT" MM"TLRD"ZZZZZZZZZ"TWHT"MMMMMMM"TLRD"ZZZZ " TNRM, - ""TWHT" MMMMM"TLRD"ZZZZZZZZ"TWHT"MMMMM"TLRD"ZZZZZZZM " TNRM, - ""TWHT" MMMMMMM"TLRD"ZZZZZZZ"TWHT"MMMM"TLRD"ZZZZZZZZZ. " TNRM, - ""TWHT" MMMMMMMMM"TLRD"ZZZZZZ"TWHT"MMM"TLRD"ZZZZZZZZZZZI " TNRM, - ""TWHT" MMMMMMMMMMM"TLRD"ZZZZZZ"TWHT"MM"TLRD"ZZZZZZZZZZ"TWHT"MMM " TNRM, - ""TLRD" .ZZZ"TWHT"MMMMMMMMMM"TLRD"IZZ"TWHT"MM"TLRD"ZZZZZ"TWHT"MMMMMMMMM " TNRM, - ""TLRD" ZZZZZZZ"TWHT"MMMMMMMM"TLRD"ZZ"TWHT"M"TLRD"ZZZZ"TWHT"MMMMMMMMMMM " TNRM, - ""TLRD" ZZZZZZZZZZZZZZZZ"TWHT"M"TLRD"Z"TWHT"MMMMMMMMMMMMMMM " TNRM, - ""TLRD" .ZZZZZZZZZZZZZ"TWHT"MMM"TLRD"Z"TWHT"M"TLRD"ZZZZZZZZZZ"TWHT"MMMM " TNRM, - ""TLRD" .ZZZZZZZZZZZ"TWHT"MMM"TLRD"7ZZ"TWHT"MM"TLRD"ZZZZZZZZZZ7"TWHT"M " TNRM, - ""TLRD" ZZZZZZZZZ"TWHT"MMMM"TLRD"ZZZZ"TWHT"MMMM"TLRD"ZZZZZZZ77 " TNRM, - ""TWHT" MMMMMMMMMMMM"TLRD"ZZZZZ"TWHT"MMMM"TLRD"ZZZZZ77 " TNRM, - ""TWHT" MMMMMMMMMM"TLRD"7ZZZZZZ"TWHT"MMMMM"TLRD"ZZ77 " TNRM, - ""TWHT" .MMMMMMM"TLRD"ZZZZZZZZ"TWHT"MMMMM"TLRD"Z7Z " TNRM, - ""TWHT" MMMMM"TLRD"ZZZZZZZZZ"TWHT"MMMMMMM " TNRM, - ""TLRD" NZZZZZZZZZZZ"TWHT"MMMMM " TNRM, - ""TLRD" ZZZZZZZZZ"TWHT"MM" TNRM -}; - -/* 18 */ -char *solusos_logo[] = -{ - ""TWHT" e e " TNRM, - ""TWHT" eee ee " TNRM, - ""TWHT" eeee eee " TNRM, - ""TDGY" wwwwwwwww"TWHT"eeeeee " TNRM, - ""TDGY" wwwwwwwwwwwwwww"TWHT"eee " TNRM, - ""TDGY" wwwwwwwwwwwwwwwwwww"TWHT"eeeeeeee " TNRM, - ""TDGY" wwwww "TWHT"eeeee"TDGY"wwwwww"TWHT"eeee " TNRM, - ""TDGY" www "TWHT"eeee"TDGY"wwwwww"TWHT"e " TNRM, - ""TDGY" ww "TWHT"ee"TDGY"wwwwww " TNRM, - ""TDGY" w wwwww " TNRM, - ""TDGY" wwwww " TNRM, - ""TDGY" wwwww " TNRM, - ""TDGY" wwwww " TNRM, - ""TDGY" wwww " TNRM, - ""TDGY" wwww " TNRM, - ""TDGY" wwww " TNRM, - ""TDGY" www " TNRM, - ""TDGY" ww " TNRM -}; - -/* 18 */ -char *mageia_logo[] = -{ - ""TLCY" .°°. " TNRM, - ""TLCY" °° .°°. " TNRM, - ""TLCY" .°°°. °° " TNRM, - ""TLCY" . . " TNRM, - ""TLCY" °°° .°°°. " TNRM, - ""TLCY" .°°°. '___' " TNRM, - ""TWHT" ."TLCY"'___' "TWHT" . " TNRM, - ""TWHT" :dkxc;'. ..,cxkd; " TNRM, - ""TWHT" .dkk. kkkkkkkkkk .kkd. " TNRM, - ""TWHT" .dkk. ';cloolc;. .kkd " TNRM, - ""TWHT" ckk. .kk; " TNRM, - ""TWHT" xO: cOd " TNRM, - ""TWHT" xO: lOd " TNRM, - ""TWHT" lOO. .OO: " TNRM, - ""TWHT" .k00. .00x " TNRM, - ""TWHT" .k00; ;00O. " TNRM, - ""TWHT" .lO0Kc;,,,,,,;c0KOc. " TNRM, - ""TWHT" ;d00KKKKKK00d; " TNRM, - ""TWHT" .,KKKK,. " TNRM -}; - -/* 18 */ -char *parabolagnu_linuxlibre_logo[] = -{ - " " TNRM, - ""TLPR" eeeeeeeee " TNRM, - ""TLPR" eeeeeeeeeeeeeee " TNRM, - ""TLPR" eeeeee"TWHT"//////////"TLPR"eeeee " TNRM, - ""TLPR" eeeee"TWHT"///////////////"TLPR"eeeee " TNRM, - ""TLPR" eeeee"TWHT"/// ////"TLPR"eeee " TNRM, - ""TLPR" eeee"TWHT"// ///"TLPR"eeeee " TNRM, - ""TLPR" eee "TWHT"///"TLPR"eeeee " TNRM, - ""TLPR"ee "TWHT"//"TLPR"eeeeee " TNRM, - ""TLPR"e "TWHT"/"TLPR"eeeeeee " TNRM, - ""TLPR" eeeeeee " TNRM, - ""TLPR" eeeeee " TNRM, - ""TLPR" eeeeee " TNRM, - ""TLPR" eeeee " TNRM, - ""TLPR" eeee " TNRM, - ""TLPR" eee " TNRM, - ""TLPR" ee " TNRM, - ""TLPR" e " TNRM -}; - -/* 18 */ -char *viperr_logo[] = -{ - ""TWHT" wwzapd dlzazw " TNRM, - ""TWHT" an"TDGY"#"TWHT"zncmqzepweeirzpas"TDGY"#"TWHT"xz " TNRM, - ""TWHT" apez"TDGY"##"TWHT"qzdkawweemvmzdm"TDGY"##"TWHT"dcmv " TNRM, - ""TWHT"zwepd"TDGY"####"TWHT"qzdweewksza"TDGY"####"TWHT"ezqpa " TNRM, - ""TWHT"ezqpdkapeifjeeazezqpdkazdkwqz " TNRM, - ""TWHT" ezqpdksz"TDGY"##"TWHT"wepuizp"TDGY"##"TWHT"wzeiapdk " TNRM, - ""TWHT" zqpakdpa"TDGY"#"TWHT"azwewep"TDGY"#"TWHT"zqpdkqze " TNRM, - ""TWHT" apqxalqpewenwazqmzazq " TNRM, - ""TWHT" mn"TDGY"##"TWHT"=="TDGY"#######"TWHT"=="TDGY"##"TWHT"qp " TNRM, - ""TWHT" qw"TDGY"##"TWHT"="TDGY"#######"TWHT"="TDGY"##"TWHT"zl " TNRM, - ""TWHT" z0"TDGY"######"TWHT"="TDGY"######"TWHT"0a " TNRM, - ""TWHT" qp"TDGY"#####"TWHT"="TDGY"#####"TWHT"mq " TNRM, - ""TWHT" az"TDGY"####"TWHT"==="TDGY"####"TWHT"mn " TNRM, - ""TWHT" ap"TDGY"#########"TWHT"qz " TNRM, - ""TWHT" 9qlzskwdewz " TNRM, - ""TWHT" zqwpakaiw " TNRM, - ""TWHT" qoqpe " TNRM, - " " TNRM -}; - -/* 18 */ -char *linuxdeepin_logo[] = -{ - ""TLGN" eeeeeeeeeeeeeeeeeeeeeeeeeeee " TNRM, - ""TLGN" eee eeeeeee eeeeeeee " TNRM, - ""TLGN"ee eeeeeeeee eeeeeeeee ee " TNRM, - ""TLGN"e eeeeeeeee eeeeeeeee e " TNRM, - ""TLGN"e eeeeeee eeeeeeeeee e " TNRM, - ""TLGN"e eeeeee eeeee e " TNRM, - ""TLGN"e eeeee eee eee e " TNRM, - ""TLGN"e eeeee ee eeeeee e " TNRM, - ""TLGN"e eeeee eee eee e " TNRM, - ""TLGN"e eeeeeeeeee eeee e " TNRM, - ""TLGN"e eeeee eeee e " TNRM, - ""TLGN"e eeeeee e " TNRM, - ""TLGN"e eeeeeee e " TNRM, - ""TLGN"e eee eeeeeeee e " TNRM, - ""TLGN"eeeeeeeeeeeeeeee e " TNRM, - ""TLGN"eeeeeeeeeeeee ee " TNRM, - ""TLGN" eeeeeeeeeee eee " TNRM, - ""TLGN" eeeeeeeeeeeeeeeeeeeeeeeeeeee " TNRM, - " " TNRM -}; - -/* 18 */ -char *chakra_logo[] = -{ - ""TLBL" _ _ _ \"kkkkkkkk. " TNRM, - ""TLBL" ,kkkkkkkk., \'kkkkkkkkk, " TNRM, - ""TLBL" ,kkkkkkkkkkkk., \'kkkkkkkkk. " TNRM, - ""TLBL" ,kkkkkkkkkkkkkkkk,\'kkkkkkkk, " TNRM, - ""TLBL" ,kkkkkkkkkkkkkkkkkkk\'kkkkkkk. " TNRM, - ""TLBL" \"\'\'\"\'\'\',;::,,\"\'\'kkk\'\'kkkkk; __ " TNRM, - ""TLBL" ,kkkkkkkkkk, \"k\'\'kkkkk\' ,kkkk " TNRM, - ""TLBL" ,kkkkkkk\' ., \' .: \'kkkk\',kkkkkk " TNRM, - ""TLBL" ,kkkkkkkk\'.k\' , ,kkkk;kkkkkkkkk " TNRM, - ""TLBL" ,kkkkkkkk\';kk \'k \"\'k\',kkkkkkkkkkkk " TNRM, - ""TLBL" .kkkkkkkkk.kkkk.\'kkkkkkkkkkkkkkkkkk\' " TNRM, - ""TLBL" ;kkkkkkkk\'\'kkkkkk;\'kkkkkkkkkkkkk\'\' " TNRM, - ""TLBL" \'kkkkkkk; \'kkkkkkkk.,\"\"\'\'\"\'\'\"\" " TNRM, - ""TLBL" \'\'kkkk; \'kkkkkkkkkk., " TNRM, - ""TLBL" \';\' \'kkkkkkkkkkkk., " TNRM, - ""TLBL" ';kkkkkkkkkk\' " TNRM, - ""TLBL" ';kkkkkk\' " TNRM, - ""TLBL" \"\'\'\" " TNRM -}; - -/* 21 */ -char *fuduntu_logo[] = -{ - ""TDGY" `dwoapfjsod`"TYLW" `dwoapfjsod` " TNRM, - ""TDGY" `xdwdsfasdfjaapz`"TYLW" `dwdsfasdfjaapzx` " TNRM, - ""TDGY" `wadladfladlafsozmm`"TYLW" `wadladfladlafsozmm` " TNRM, - ""TDGY" `aodowpwafjwodisosoaas`"TYLW" `odowpwafjwodisosoaaso` " TNRM, - ""TDGY" `adowofaowiefawodpmmxs`"TYLW" `dowofaowiefawodpmmxso` " TNRM, - ""TDGY" `asdjafoweiafdoafojffw`"TYLW" `sdjafoweiafdoafojffwq` " TNRM, - ""TDGY" `dasdfjalsdfjasdlfjdd`"TYLW" `asdfjalsdfjasdlfjdda` " TNRM, - ""TDGY" `dddwdsfasdfjaapzxaw`"TYLW" `ddwdsfasdfjaapzxawo` " TNRM, - ""TDGY" `dddwoapfjsowzocmw`"TYLW" `ddwoapfjsowzocmwp` " TNRM, - ""TDGY" `ddasowjfowiejao`"TYLW" `dasowjfowiejaow` " TNRM, - " " TNRM, - ""TLRD" `ddasowjfowiejao`"TWHT" `dasowjfowiejaow` " TNRM, - ""TLRD" `dddwoapfjsowzocmw`"TWHT" `ddwoapfjsowzocmwp` " TNRM, - ""TLRD" `dddwdsfasdfjaapzxaw`"TWHT" `ddwdsfasdfjaapzxawo` " TNRM, - ""TLRD" `dasdfjalsdfjasdlfjdd`"TWHT" `asdfjalsdfjasdlfjdda` " TNRM, - ""TLRD" `asdjafoweiafdoafojffw`"TWHT" `sdjafoweiafdoafojffwq` " TNRM, - ""TLRD" `adowofaowiefawodpmmxs`"TWHT" `dowofaowiefawodpmmxso` " TNRM, - ""TLRD" `aodowpwafjwodisosoaas`"TWHT" `odowpwafjwodisosoaaso` " TNRM, - ""TLRD" `wadladfladlafsozmm`"TWHT" `wadladfladlafsozmm` " TNRM, - ""TLRD" `dwdsfasdfjaapzx`"TWHT" `dwdsfasdfjaapzx`" TNRM, - ""TLRD" `woapfjsod`"TWHT" `woapfjsod`" TNRM -}; - -/* 16 */ -char *macosx_logo[] = -{ - "\n"TGRN" -/+:. " TNRM, - ""TGRN" :++++. " TNRM, - ""TGRN" /+++/. " TNRM, - ""TGRN" .:-::- .+/:-``.::- " TNRM, - ""TGRN" .:/++++++/::::/++++++/:` " TNRM, - ""TBRN" .:///////////////////////:` " TNRM, - ""TBRN" ////////////////////////` " TNRM, - ""TLRD" -+++++++++++++++++++++++` " TNRM, - ""TLRD" /++++++++++++++++++++++/ " TNRM, - ""TRED" /sssssssssssssssssssssss. " TNRM, - ""TRED" :ssssssssssssssssssssssss- " TNRM, - ""TPUR" osssssssssssssssssssssssso/` " TNRM, - ""TPUR" `syyyyyyyyyyyyyyyyyyyyyyyy+` " TNRM, - ""TBLU" `ossssssssssssssssssssss/ " TNRM, - ""TBLU" :ooooooooooooooooooo+. " TNRM, - ""TBLU" `:+oo+/:-..-:/+o+/- "TNRM"", -}; - -/* 16 */ -char *windows_logo[] = -{ - ""TLRD" ,.=:!!t3Z3z., " TNRM, - ""TLRD" :tt:::tt333EE3 " TNRM, - ""TLRD" Et:::ztt33EEEL"TLGN" @Ee., .., " TNRM, - ""TLRD" ;tt:::tt333EE7"TLGN" ;EEEEEEttttt33# " TNRM, - ""TLRD" :Et:::zt333EEQ."TLGN" $EEEEEttttt33QL " TNRM, - ""TLRD" it::::tt333EEF"TLGN" @EEEEEEttttt33F " TNRM, - ""TLRD" ;3=*^```\"*4EEV"TLGN" :EEEEEEttttt33@. " TNRM, - ""TLBL" ,.=::::!t=., "TLRD"`"TLGN" @EEEEEEtttz33QF " TNRM, - ""TLBL" ;::::::::zt33)"TLGN" \"4EEEtttji3P* " TNRM, - ""TLBL" :t::::::::tt33."TYLW":Z3z.."TLGN" ``"TYLW" ,..g. " TNRM, - ""TLBL" i::::::::zt33F"TYLW" AEEEtttt::::ztF " TNRM, - ""TLBL" ;:::::::::t33V"TYLW" ;EEEttttt::::t3 " TNRM, - ""TLBL" E::::::::zt33L"TYLW" @EEEtttt::::z3F " TNRM, - ""TLBL"{3=*^```\"*4E3)"TYLW" ;EEEtttt:::::tZ` " TNRM, - ""TLBL" `"TYLW" :EEEEtttt::::z7 " TNRM, - ""TYLW" \"VEzjt:;;z>*` " TNRM -}; - -/* 18 */ -char *trisquel_logo[] = -{ - ""TLBL" ▄▄▄▄▄▄ " TNRM, - ""TLBL" ▄█████████▄ " TNRM, - ""TLBL" ▄▄▄▄▄▄ ████▀ ▀████ " TNRM, - ""TLBL" ▄██████████▄ ████▀ ▄▄ ▀███ " TNRM, - ""TLBL" ▄███▀▀ ▀▀████ ███▄ ▄█ ███ " TNRM, - ""TLBL" ▄███ ▄▄▄ ████▄ ▀██████ ▄███ " TNRM, - ""TLBL" ███ █▀▀██▄ █████▄ ▀▀ ▄████ " TNRM, - ""TLBL" ▀███ ███ ███████▄▄ ▄▄██████ " TNRM, - ""TLBL" ▀███▄ ▄███ █████████████"TLCY"████▀ " TNRM, - ""TLBL" ▀█████████ ███████"TLCY"███▀▀▀ " TNRM, - ""TLBL" ▀▀███▀▀ ██"TLCY"████▀▀ " TNRM, - ""TLCY" ██████▀ ▄▄▄▄ " TNRM, - ""TLCY" █████▀ ████████ " TNRM, - ""TLCY" █████ ███▀ ▀███ " TNRM, - ""TLCY" ████▄ ██▄▄▄ ███ " TNRM, - ""TLCY" █████▄ ▀▀ ▄██ " TNRM, - ""TLCY" ██████▄▄▄████ " TNRM, - ""TLCY" ▀▀█████▀▀ " TNRM -}; - -/* 18 */ -char *manjaro_logo[] = -{ - ""TLGN" ██████████████████ ████████ " TNRM, - ""TLGN" ██████████████████ ████████ " TNRM, - ""TLGN" ██████████████████ ████████ " TNRM, - ""TLGN" ██████████████████ ████████ " TNRM, - ""TLGN" ████████ ████████ " TNRM, - ""TLGN" ████████ ████████ ████████ " TNRM, - ""TLGN" ████████ ████████ ████████ " TNRM, - ""TLGN" ████████ ████████ " TNRM, - ""TLGN" ████████ ████████ ████████ " TNRM, - ""TLGN" ████████ ████████ ████████ " TNRM, - ""TLGN" ████████ ████████ ████████ " TNRM, - ""TLGN" ████████ ████████ ████████ " TNRM, - ""TLGN" ████████ ████████ ████████ " TNRM, - ""TLGN" ████████ ████████ ████████ " TNRM, - ""TLGN" ████████ ████████ ████████ " TNRM, - ""TLGN" ████████ ████████ ████████ " TNRM, - ""TLGN" ████████ ████████ ████████ " TNRM, - " " TNRM -}; - -/* 18 */ -char *elementaryos_logo[] = -{ - " ", - ""TWHT" $?77777$$$IO " TNRM, - ""TWHT" $III777ZZZZ$$$ZZ$8 " TNRM, - ""TWHT" ZI777 OZZZ$ " TNRM, - ""TWHT" Z777 O7ZZO8 " TNRM, - ""TWHT" Z777 O$ZZZ8 " TNRM, - ""TWHT" I$$ O$ZZZD " TNRM, - ""TWHT" 0$$O O$$ZZ " TNRM, - ""TWHT" 0$$O 8$$$$ " TNRM, - ""TWHT" 0$$O 8$$$$ " TNRM, - ""TWHT" $ZZ O$$ZZ D " TNRM, - ""TWHT" ZZZ8ZZZZ O88 " TNRM, - ""TWHT" DZZZZ8 D888 " TNRM, - ""TWHT" ZZZZDMMMMMMMMMMDO888 " TNRM, - ""TWHT" ZOOOOOOOOOOOO888 " TNRM, - ""TWHT" N8OOOOOOO8D " TNRM, - " " TNRM, - " " TNRM -}; - -/* 20 */ -char *scientificlinux_logo[] = -{ - ""TLBL" =/;;/- " TNRM, - ""TLBL" +: // " TNRM, - ""TLBL" /; /; " TNRM, - ""TLBL" -X H. " TNRM, - ""TLBL" .//;;;:;;-, X= :+ .-;:=;:;#;. " TNRM, - ""TLBL" M- ,=;;;#:, ,:#;;:=, ,@ " TNRM, - ""TLBL" :# :#.=/++++/=.$= #= " TNRM, - ""TLBL" ,#; #/:+/;,,/++:+/ ;+. " TNRM, - ""TLBL" ,+/. ,;@+, ,#H;, ,/+, " TNRM, - ""TLBL" ;+;;/= @. "TLRD".H"TWHT"#"TLRD"#X "TLBL"-X :///+; " TNRM, - ""TLBL" ;+=;;;.@, "TWHT".X"TLRD"M"TWHT"@$. "TLBL"=X.//;=#/. " TNRM, - ""TLBL" ,;: :@#= =$H: .+#- " TNRM, - ""TLBL" ,#= #;-///==///-// =#, " TNRM, - ""TLBL" ;+ :#-;;;:;;;;-X- +: " TNRM, - ""TLBL" @- .-;;;;M- =M/;;;-. -X " TNRM, - ""TLBL" :;;::;;-. #- :+ ,-;;-;:== " TNRM, - ""TLBL" ,X H. " TNRM, - ""TLBL" ;/ #= " TNRM, - ""TLBL" // +; " TNRM, - ""TLBL" '////'" TNRM -}; - -/* 20 */ -char *backtracklinux_logo[] = -{ - ""TWHT".............. " TNRM, - ""TWHT" ..,;:ccc,. " TNRM, - ""TWHT" ......''';lxO. " TNRM, - ""TWHT".....''''..........,:ld; " TNRM, - ""TWHT" .';;;:::;,,.x, " TNRM, - ""TWHT" ..'''. 0Xxoc:,. ... " TNRM, - ""TWHT" .... ,ONkc;,;cokOdc',. " TNRM, - ""TWHT" . OMo ':"TLRD"dd"TWHT"o. " TNRM, - ""TWHT" dMc :OO; " TNRM, - ""TWHT" 0M. .:o. " TNRM, - ""TWHT" ;Wd " TNRM, - ""TWHT" ;XO, " TNRM, - ""TWHT" ,d0Odlc;,.. " TNRM, - ""TWHT" ..',;:cdOOd::,. " TNRM, - ""TWHT" .:d;.':;. " TNRM, - ""TWHT" 'd, .' " TNRM, - ""TWHT" ;l .." TNRM, - ""TWHT" .o " TNRM, - ""TWHT" c " TNRM, - ""TWHT" .' " TNRM, - ""TWHT" . " TNRM -}; - -/* 18 */ -char *sabayon_logo[] = -{ - ""TLBL" ........... " TNRM, - ""TLBL" .. .. " TNRM, - ""TLBL" .. .. " TNRM, - ""TLBL" .. "TWHT"o "TLBL".. " TNRM, - ""TLBL" .. "TWHT":W' "TLBL".. " TNRM, - ""TLBL" .. "TWHT".d. "TLBL".. " TNRM, - ""TLBL":. "TWHT".KNO "TLBL".: " TNRM, - ""TLBL":. "TWHT"cNNN. "TLBL".: " TNRM, - ""TLBL": "TWHT"dXXX, "TLBL": " TNRM, - ""TLBL": "TWHT". dXXX, .cd, "TLBL": " TNRM, - ""TLBL": "TWHT"'kc .. dKKK. ,ll;:' "TLBL": " TNRM, - ""TLBL": "TWHT".xkkxc;..dkkkc',cxkkl "TLBL": " TNRM, - ""TLBL":. "TWHT".,cdddddddddddddo:. "TLBL".: " TNRM, - ""TLBL" .. "TWHT":lllllll: "TLBL".. " TNRM, - ""TLBL" .. "TWHT"',,,,, "TLBL".. " TNRM, - ""TLBL" .. .. " TNRM, - ""TLBL" .. .. " TNRM, - ""TLBL" ............... " TNRM -}; - -/* 16 */ -char *android_logo[] = -{ - ""TLGN" ▀▄ ▂▂▂▂▂ ▄▀ " TNRM, - ""TLGN " ▗▟█████████▙▖ " TNRM, - ""TLGN" ▟██▀▀█████▀▀██▙ " TNRM, - ""TLGN" ███▄▄█████▄▄███▌ " TNRM, - ""TLGN" █████████████████ " TNRM, - ""TLGN"▟█▙ ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ▟█▙" TNRM, - ""TLGN"███ █████████████████ ███" TNRM, - ""TLGN"███ █████████████████ ███" TNRM, - ""TLGN"███ █████████████████ ███" TNRM, - ""TLGN"███ █████████████████ ███" TNRM, - ""TLGN"███ █████████████████ ███" TNRM, - ""TLGN"▜█▛ █████████████████ ▜█▛" TNRM, - ""TLGN" ▀███████████████▀ " TNRM, - ""TLGN" ████ ████ " TNRM, - ""TLGN" ████ ████ " TNRM, - ""TLGN" ▜██▛ ▜██▛ " TNRM -}; - -/* 18 */ -char *linux_logo[] = -{ - " " TNRM, - " " TNRM, - " " TNRM, - ""TDGY" ##### " TNRM, - ""TDGY" ####### " TNRM, - ""TDGY" ##"TWHT"O"TDGY"#"TWHT"O"TDGY"## " TNRM, - ""TDGY" #"TYLW"#####"TDGY"# " TNRM, - ""TDGY" ##"TWHT"##"TYLW"###"TWHT"##"TDGY"## " TNRM, - ""TDGY" #"TWHT"##########"TDGY"## " TNRM, - ""TDGY" #"TWHT"############"TDGY"## " TNRM, - ""TDGY" #"TWHT"############"TDGY"### " TNRM, - ""TYLW" ##"TDGY"#"TWHT"###########"TDGY"##"TYLW"# " TNRM, - ""TYLW" ######"TDGY"#"TWHT"#######"TDGY"#"TYLW"###### " TNRM, - ""TYLW" #######"TDGY"#"TWHT"#####"TDGY"#"TYLW"####### " TNRM, - ""TYLW" #####"TDGY"#######"TYLW"##### " TNRM, - " " TNRM, - " " TNRM, - " " TNRM -}; - -/* 17 */ -char *solaris_logo[] = -{ - "MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM", - "MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM"TWHT"██"TNRM"MMMM$MMMMMMMMMMMM", - "MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM"TWHT"█"TNRM"MMMM"TWHT"██"TNRM"MMMM"TWHT"█"TNRM"MMMMMMMMMMMM", - "MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM"TWHT"████████████"TNRM"MMMMMMMMMMMM", - "MMMMMMMMMMMMMMMMMMMMMMMMMM"TWHT"██"TNRM"M"TWHT"██████████████"TNRM"MM"TWHT"███"TNRM"MMMMMMM", - "MMMMMMMMMMMMMMMMMMMMMMMMMMM"TWHT"████████████████████"TNRM"MMMMMMMM", - "MMMMMMMMMMMMMMMMMMMMMMMMMMM"TWHT"███████████████████"TNRM"MMMMMNMMM", - "MMMMMMMMMMMMMMMMMMMMM"TWHT"██████████████████████████████"TNRM"MMMM", - "MMMMMMMMMMMMMMMMMMMMMMMM"TWHT"█████████████████████████"TNRM"MMMMMM", - "=======================================================", - "MMM"TWHT"###"TNRM"NMMMMM"TWHT"####"TNRM"MMMM"TWHT"##"TNRM"MMMMMM"TWHT"####"TNRM"MMMMM"TWHT"#####"TNRM"MM"TWHT"##"TNRM"MMMM"TWHT"###"TNRM"MM", - "MM"TWHT"##"TNRM"MMMMMM"TWHT"###"TNRM"MM"TWHT"###"TNRM"MM"TWHT"##"TNRM"MMMM"TWHT"##"TNRM"MMM"TWHT"##"TNRM"MMMM"TWHT"###"TNRM"MMMM"TWHT"##"TNRM"MM"TWHT"###"TNRM"MMMM", - "M"TWHT"##"TNRM"MMMMMMM"TWHT"##"TNRM"MMMM"TWHT"##"TNRM"MM"TWHT"##"TNRM"MMMMMMMMMM"TWHT"##"TNRM"MMM"TWHT"##"TNRM"MMMMM"TWHT"##"TNRM"MM"TWHT"##"TNRM"MMMMM", - "MM"TWHT"####"TNRM"MMM"TWHT"###"TNRM"MMMM"TWHT"##"TNRM"MM"TWHT"##"TNRM"MMMMM"TWHT"#######"TNRM"MMM"TWHT"##"TNRM"MMMMM"TWHT"##"TNRM"MMM"TWHT"####"TNRM"MM", - "MMMMM"TWHT"###"TNRM"MM"TWHT"##"TNRM"MMMM"TWHT"##"TNRM"MM"TWHT"##"TNRM"MMMM"TWHT"##"TNRM"MMMM"TWHT"##"TNRM"MMM"TWHT"##"TNRM"MMMMM"TWHT"##"TNRM"MMMMMN"TWHT"##"TNRM"M", - "MMMMMM"TWHT"##"TNRM"MM"TWHT"###"TNRM"MM"TWHT"###"TNRM"MM"TWHT"##"TNRM"MMMM"TWHT"##"TNRM"MMM"TWHT"###"TNRM"MMM"TWHT"##"TNRM"MMMMM"TWHT"##"TNRM"MMMMMM"TWHT"##"TNRM"M", - "M"TWHT"######"TNRM"MMMMM"TWHT"####"TNRM"MMMM="TWHT"####"TNRM"MM"TWHT"#######"TNRM"MMM"TWHT"##"TNRM"MMMMM"TWHT"##"TNRM"MM"TWHT"#####"TNRM"MM" -}; - -/* 16 */ -char *angstrom_logo[] = -{ - " ", - " ", - " ", - " ", - ".---O---. ", - "| | .-. o o ", - "| | |-----.-----.-----.| | .----..-----.-----.", - "| | | __ | ---'| '--.| .-'| | |", - "| | | | | |--- || --'| | | ' | | | |", - "'---'---'--'--'--. |-----''----''--' '-----'-'-'-'", - " -' | ", - " '---' ", - " ", - " ", - " ", - " " -}; - -#endif /* LOGOS_H */ +#ifndef SCREENFETCH_C_LOGOS_H +#define SCREENFETCH_C_LOGOS_H + +extern char *oldarch_logo[]; +extern char *arch_logo[]; +extern char *mint_logo[]; +extern char *lmde_logo[]; +extern char *ubuntu_logo[]; +extern char *debian_logo[]; +extern char *crunchbang_logo[]; +extern char *gentoo_logo[]; +extern char *funtoo_logo[]; +extern char *fedora_logo[]; +extern char *freebsd_logo[]; +extern char *openbsd_logo[]; +extern char *dragonflybsd_logo[]; +extern char *netbsd_logo[]; +extern char *mandriva_mandrake_logo[]; +extern char *opensuse_logo[]; +extern char *slackware_logo[]; +extern char *redhat_logo[]; +extern char *frugalware_logo[]; +extern char *peppermint_logo[]; +extern char *solusos_logo[]; +extern char *mageia_logo[]; +extern char *parabolagnu_linuxlibre_logo[]; +extern char *viperr_logo[]; +extern char *linuxdeepin_logo[]; +extern char *chakra_logo[]; +extern char *fuduntu_logo[]; +extern char *macosx_logo[]; +extern char *windows_logo[]; +extern char *trisquel_logo[]; +extern char *manjaro_logo[]; +extern char *elementaryos_logo[]; +extern char *scientificlinux_logo[]; +extern char *backtracklinux_logo[]; +extern char *sabayon_logo[]; +extern char *android_logo[]; +extern char *linux_logo[]; +extern char *solaris_logo[]; +extern char *angstrom_logo[]; + +#endif /* SCREENFETCH_C_LOGOS_H */ diff --git a/src/screenfetch-c.c b/src/screenfetch-c.c index 8727702..d141204 100644 --- a/src/screenfetch-c.c +++ b/src/screenfetch-c.c @@ -63,6 +63,7 @@ #include "logos.h" /* ascii logos */ #include "colors.h" /* terminal color codes */ #include "misc.h" /* misc macros */ +#include "util.h" /* convenience functions */ #include "thread.h" /* for cross-platform threading */ /* string definitions - set to Unknown by default */ @@ -199,7 +200,7 @@ int main(int argc, char **argv) if (manual) /* if the user has decided to enter manual mode */ { - int stat = manual_input(); + int stat = manual_input(verbose); if (stat == EXIT_SUCCESS) { @@ -1573,7 +1574,7 @@ void detect_gtk(char *str) generates (or reads) the ~/.screenfetchc file based upon user input returns an int indicating status (SUCCESS or FAILURE) */ -int manual_input(void) +int manual_input(bool verbose) { FILE *config_file; char config_file_loc[MAX_STRLEN]; @@ -1724,812 +1725,6 @@ int manual_input(void) /* ** END DETECTION FUNCTIONS ** */ - -/* ** BEGIN AUXILIARY FUNCTIONS ** */ - -/* safe_strncpy - calls strncpy with the given params, then inserts a null char at the last position - returns a pointer to a string containing the copied data (same as destination) -*/ -char *safe_strncpy(char *destination, const char *source, size_t num) -{ - char *ret = strncpy(destination, source, num); - ret[num - 1] = '\0'; - return ret; -} - -/* split_uptime - splits param uptime into individual time-units - argument long uptime: the uptime, in seconds, to be split - arguments int *secs...*days: pointers to ints where the split uptime will be stored - -- - CAVEAT: uptime MUST be in seconds - -- -*/ -void split_uptime(long uptime, int *secs, int *mins, int *hrs, int *days) -{ - *secs = (int) uptime % 60; - *mins = (int) (uptime / 60) % 60; - *hrs = (int) (uptime / 3600) % 24; - *days = (int) (uptime / 86400); - - return; -} - -/* ** END AUXILIARY FUNCTIONS ** */ - - -/* output_logo_only - outputs an ASCII logo based upon the distro name passed to it - argument char *distro the name of the distro to output -*/ -void output_logo_only(char *distro) -{ - int i = 0; - - if (STRCMP(distro, "Windows")) - { - for (i = 0; i < 16; i++) - { - printf("%s\n", windows_logo[i]); - } - } - - else if (STRCMP(distro, "OS X")) - { - for (i = 0; i < 16; i++) - { - printf("%s\n", macosx_logo[i]); - } - } - - else if (STRCMP(distro, "Arch Linux - Old")) - { - for (i = 0; i < 18; i++) - { - printf("%s\n", oldarch_logo[i]); - } - } - - else if (STRCMP(distro, "Arch Linux")) - { - for (i = 0; i < 18; i++) - { - printf("%s\n", arch_logo[i]); - } - } - - else if (STRCMP(distro, "LinuxMint")) - { - for (i = 0; i < 18; i++) - { - printf("%s\n", mint_logo[i]); - } - } - - else if (STRCMP(distro, "LMDE")) - { - for (i = 0; i < 18; i++) - { - printf("%s\n", lmde_logo[i]); - } - } - - else if (STRCMP(distro, "Ubuntu") || STRCMP(distro, "Lubuntu") || STRCMP(distro, "Xubuntu")) - { - for (i = 0; i < 18; i++) - { - printf("%s\n", ubuntu_logo[i]); - } - } - - else if (STRCMP(distro, "Debian")) - { - for (i = 0; i < 18; i++) - { - printf("%s\n", debian_logo[i]); - } - } - - else if (STRCMP(distro, "CrunchBang")) - { - for (i = 0; i < 18; i++) - { - printf("%s\n", crunchbang_logo[i]); - } - } - - else if (STRCMP(distro, "Gentoo")) - { - for (i = 0; i < 18; i++) - { - printf("%s\n", gentoo_logo[i]); - } - } - - else if (STRCMP(distro, "Funtoo")) - { - for (i = 0; i < 18; i++) - { - printf("%s\n", funtoo_logo[i]); - } - } - - else if (STRCMP(distro, "Fedora")) - { - for (i = 0; i < 18; i++) - { - printf("%s\n", fedora_logo[i]); - } - } - - else if (STRCMP(distro, "Mandriva") || STRCMP(distro, "Mandrake")) - { - for (i = 0; i < 18; i++) - { - printf("%s\n", mandriva_mandrake_logo[i]); - } - } - - else if (STRCMP(distro, "OpenSUSE")) - { - for (i = 0; i < 18; i++) - { - printf("%s\n", opensuse_logo[i]); - } - } - - else if (STRCMP(distro, "Slackware")) - { - for (i = 0; i < 21; i++) - { - printf("%s\n", slackware_logo[i]); - } - } - - else if (STRCMP(distro, "Red Hat Linux")) - { - for (i = 0; i < 18; i++) - { - printf("%s\n", redhat_logo[i]); - } - } - - else if (STRCMP(distro, "Frugalware")) - { - for (i = 0; i < 23; i++) - { - printf("%s\n", frugalware_logo[i]); - } - } - - else if (STRCMP(distro, "Peppermint")) - { - for (i = 0; i < 19; i++) - { - printf("%s\n", peppermint_logo[i]); - } - } - - else if (STRCMP(distro, "SolusOS")) - { - for (i = 0; i < 18; i++) - { - printf("%s\n", solusos_logo[i]); - } - } - - else if (STRCMP(distro, "Mageia")) - { - for (i = 0; i < 18; i++) - { - printf("%s\n", mageia_logo[i]); - } - } - - else if (STRCMP(distro, "ParabolaGNU/Linux-libre")) - { - for (i = 0; i < 18; i++) - { - printf("%s\n", parabolagnu_linuxlibre_logo[i]); - } - } - - else if (STRCMP(distro, "Viperr")) - { - for (i = 0; i < 18; i++) - { - printf("%s\n", viperr_logo[i]); - } - } - - else if (STRCMP(distro, "LinuxDeepin")) - { - for (i = 0; i < 18; i++) - { - printf("%s\n", linuxdeepin_logo[i]); - } - } - - else if (STRCMP(distro, "Chakra")) - { - for (i = 0; i < 18; i++) - { - printf("%s\n", chakra_logo[i]); - } - } - - else if (STRCMP(distro, "Fuduntu")) - { - for (i = 0; i < 21; i++) - { - printf("%s\n", fuduntu_logo[i]); - } - } - - else if (STRCMP(distro, "Trisquel")) - { - for (i = 0; i < 18; i++) - { - printf("%s\n", trisquel_logo[i]); - } - } - - else if (STRCMP(distro, "Manjaro")) - { - for (i = 0; i < 18; i++) - { - printf("%s\n", manjaro_logo[i]); - } - } - - else if (STRCMP(distro, "elementary OS")) - { - for (i = 0; i < 18; i++) - { - printf("%s\n", elementaryos_logo[i]); - } - } - - else if (STRCMP(distro, "Scientific Linux")) - { - for (i = 0; i < 20; i++) - { - printf("%s\n", scientificlinux_logo[i]); - } - } - - else if (STRCMP(distro, "Backtrack Linux")) - { - for (i = 0; i < 21; i++) - { - printf("%s\n", backtracklinux_logo[i]); - } - } - - else if (STRCMP(distro, "Sabayon")) - { - for (i = 0; i < 18; i++) - { - printf("%s\n", sabayon_logo[i]); - } - } - - else if (STRCMP(distro, "FreeBSD")) - { - for (i = 0; i < 18; i++) - { - printf("%s\n", freebsd_logo[i]); - } - } - - else if (STRCMP(distro, "OpenBSD")) - { - for (i = 0; i < 23; i++) - { - printf("%s\n", openbsd_logo[i]); - } - } - - else if (STRCMP(distro, "NetBSD")) - { - for (i = 0; i < 20; i++) - { - printf("%s\n", netbsd_logo[i]); - } - } - - else if (STRCMP(distro, "DragonFly BSD")) - { - for (i = 0; i < 18; i++) - { - printf("%s\n", dragonflybsd_logo[i]); - } - } - - else if (STRCMP(distro, "Android")) - { - for (i = 0; i < 16; i++) - { - printf("%s\n", android_logo[i]); - } - } - - else if (STRCMP(distro, "Solaris")) - { - for (i = 0; i < 17; i++) - { - printf("%s\n", solaris_logo[i]); - } - } - - else if (STRCMP(distro, "Angstrom")) - { - for (i = 0; i < 16; i++) - { - printf("%s\n", angstrom_logo[i]); - } - } - - else /* if (STRCMP(distro_str, "Linux")) */ - { - for (i = 0; i < 16; i++) - { - printf("%s\n", linux_logo[i]); - } - } -} - -/* ** BEGIN FLAG/OUTPUT/MISC FUNCTIONS ** */ - -/* main_ascii_output - the primary output for screenfetch-c - all info and ASCII art is printed here - arguments char *data[], char *data_names[]: string arrays containing the names and data acquired -*/ -void main_ascii_output(char *data[], char *data_names[]) -{ - int i = 0; - - if (OS == CYGWIN) - { - for (i = 0; i < 16; i++) - { - printf("%s %s%s%s%s%s\n", windows_logo[i], TRED, data_names[i], TWHT, data[i], TNRM); - } - } - - else if (OS == OSX) - { - for (i = 0; i < 16; i++) - { - printf("%s %s%s%s%s\n", macosx_logo[i], TLBL, data_names[i], TNRM, data[i]); - } - } - - else if (OS == LINUX) - { - if (STRCMP(distro_str, "Arch Linux - Old")) - { - for (i = 0; i < 18; i++) - { - if (i < 16) - printf("%s %s%s%s%s%s\n", oldarch_logo[i], TLBL, data_names[i], TNRM, data[i], TNRM); - else - printf("%s\n", oldarch_logo[i]); - } - } - - else if (STRCMP(distro_str, "Arch Linux")) - { - for (i = 0; i < 18; i++) - { - if (i < 16) - printf("%s %s%s%s%s%s\n", arch_logo[i], TLCY, data_names[i], TNRM, data[i], TNRM); - else - printf("%s\n", arch_logo[i]); - } - } - - else if (STRCMP(distro_str, "LinuxMint")) - { - for (i = 0; i < 18; i++) - { - if (i < 16) - printf("%s %s%s%s%s%s\n", mint_logo[i], TLGN, data_names[i], TNRM, data[i], TNRM); - else - printf("%s\n", mint_logo[i]); - } - } - - else if (STRCMP(distro_str, "LMDE")) - { - for (i = 0; i < 18; i++) - { - if (i < 16) - printf("%s %s%s%s%s\n", lmde_logo[i], TLGN, data_names[i], TNRM, data[i]); - else - printf("%s\n", lmde_logo[i]); - } - } - - else if (STRCMP(distro_str, "Ubuntu") || STRCMP(distro_str, "Lubuntu") || STRCMP(distro_str, "Xubuntu")) - { - for (i = 0; i < 18; i++) - { - if (i < 16) - printf("%s %s%s%s%s%s\n", ubuntu_logo[i], TLRD, data_names[i], TNRM, data[i], TNRM); - else - printf("%s\n", ubuntu_logo[i]); - } - } - - else if (STRCMP(distro_str, "Debian")) - { - for (i = 0; i < 18; i++) - { - if (i < 16) - printf("%s %s%s%s%s\n", debian_logo[i], TLRD, data_names[i], TNRM, data[i]); - else - printf("%s\n", debian_logo[i]); - } - } - - else if (STRCMP(distro_str, "CrunchBang")) - { - for (i = 0; i < 18; i++) - { - if (i < 16) - printf("%s %s%s%s%s\n", crunchbang_logo[i], TDGY, data_names[i], TNRM, data[i]); - else - printf("%s\n", crunchbang_logo[i]); - } - } - - else if (STRCMP(distro_str, "Gentoo")) - { - for (i = 0; i < 18; i++) - { - if (i < 16) - printf("%s %s%s%s%s\n", gentoo_logo[i], TLPR, data_names[i], TNRM, data[i]); - else - printf("%s\n", gentoo_logo[i]); - } - } - - else if (STRCMP(distro_str, "Funtoo")) - { - for (i = 0; i < 18; i++) - { - if (i < 16) - printf("%s %s%s%s%s\n", funtoo_logo[i], TLPR, data_names[i], TNRM, data[i]); - else - printf("%s\n", funtoo_logo[i]); - } - } - - else if (STRCMP(distro_str, "Fedora")) - { - for (i = 0; i < 18; i++) - { - if (i < 16) - printf("%s %s%s%s%s\n", fedora_logo[i], TLBL, data_names[i], TNRM, data[i]); - else - printf("%s\n", fedora_logo[i]); - } - } - - else if (STRCMP(distro_str, "Mandriva") || STRCMP(distro_str, "Mandrake")) - { - for (i = 0; i < 18; i++) - { - if (i < 16) - printf("%s %s%s%s%s\n", mandriva_mandrake_logo[i], TLBL, data_names[i], TNRM, data[i]); - else - printf("%s\n", mandriva_mandrake_logo[i]); - } - } - - else if (STRCMP(distro_str, "OpenSUSE")) - { - for (i = 0; i < 18; i++) - { - if (i < 16) - printf("%s %s%s%s%s\n", opensuse_logo[i], TLGN, data_names[i], TNRM, data[i]); - else - printf("%s\n", opensuse_logo[i]); - } - } - - else if (STRCMP(distro_str, "Slackware")) - { - for (i = 0; i < 21; i++) - { - if (i < 16) - printf("%s %s%s%s%s\n", slackware_logo[i], TLBL, data_names[i], TNRM, data[i]); - else - printf("%s\n", slackware_logo[i]); - } - } - - else if (STRCMP(distro_str, "Red Hat Linux")) - { - for (i = 0; i < 18; i++) - { - if (i < 16) - printf("%s %s%s%s%s\n", redhat_logo[i], TRED, data_names[i], TNRM, data[i]); - else - printf("%s\n", redhat_logo[i]); - } - } - - else if (STRCMP(distro_str, "Frugalware")) - { - for (i = 0; i < 23; i++) - { - if (i < 16) - printf("%s %s%s%s%s\n", frugalware_logo[i], TLCY, data_names[i], TNRM, data[i]); - else - printf("%s\n", frugalware_logo[i]); - } - } - - else if (STRCMP(distro_str, "Peppermint")) - { - for (i = 0; i < 18; i++) - { - if (i < 16) - printf("%s %s%s%s%s\n", peppermint_logo[i], TLRD, data_names[i], TNRM, data[i]); - else - printf("%s\n", peppermint_logo[i]); - } - } - - else if (STRCMP(distro_str, "SolusOS")) - { - for (i = 0; i < 18; i++) - { - if (i < 16) - printf("%s %s%s%s%s\n", solusos_logo[i], TLGY, data_names[i], TNRM, data[i]); - else - printf("%s\n", solusos_logo[i]); - } - } - - else if (STRCMP(distro_str, "Mageia")) - { - for (i = 0; i < 18; i++) - { - if (i < 16) - printf("%s %s%s%s%s\n", mageia_logo[i], TLCY, data_names[i], TNRM, data[i]); - else - printf("%s\n", mageia_logo[i]); - } - } - - else if (STRCMP(distro_str, "ParabolaGNU/Linux-libre")) - { - for (i = 0; i < 18; i++) - { - if (i < 16) - printf("%s %s%s%s%s\n", parabolagnu_linuxlibre_logo[i], TLPR, data_names[i], TNRM, data[i]); - else - printf("%s\n", parabolagnu_linuxlibre_logo[i]); - } - } - - else if (STRCMP(distro_str, "Viperr")) - { - for (i = 0; i < 18; i++) - { - if (i < 16) - printf("%s %s%s%s%s\n", viperr_logo[i], TLGY, data_names[i], TNRM, data[i]); - else - printf("%s\n", viperr_logo[i]); - } - } - - else if (STRCMP(distro_str, "LinuxDeepin")) - { - for (i = 0; i < 18; i++) - { - if (i < 16) - printf("%s %s%s%s%s\n", linuxdeepin_logo[i], TLGN, data_names[i], TNRM, data[i]); - else - printf("%s\n", linuxdeepin_logo[i]); - } - } - - else if (STRCMP(distro_str, "Chakra")) - { - for (i = 0; i < 18; i++) - { - if (i < 16) - printf("%s %s%s%s%s\n", chakra_logo[i], TLBL, data_names[i], TNRM, data[i]); - else - printf("%s\n", chakra_logo[i]); - } - } - - else if (STRCMP(distro_str, "Fuduntu")) - { - for (i = 0; i < 21; i++) - { - if (i < 16) - printf("%s %s%s%s%s\n", fuduntu_logo[i], TLRD, data_names[i], TNRM, data[i]); - else - printf("%s\n", fuduntu_logo[i]); - } - } - - else if (STRCMP(distro_str, "Trisquel")) - { - for (i = 0; i < 18; i++) - { - if (i < 16) - printf("%s %s%s%s%s\n", trisquel_logo[i], TLBL, data_names[i], TNRM, data[i]); - else - printf("%s\n", trisquel_logo[i]); - } - } - - else if (STRCMP(distro_str, "Manjaro")) - { - for (i = 0; i < 18; i++) - { - if (i < 16) - printf("%s %s%s\n", manjaro_logo[i], data_names[i], data[i]); - else - printf("%s\n", manjaro_logo[i]); - } - } - - else if (STRCMP(distro_str, "elementary OS")) - { - for (i = 0; i < 18; i++) - { - if (i < 16) - printf("%s %s%s%s%s\n", elementaryos_logo[i], TLGN, data_names[i], TNRM, data[i]); - else - printf("%s\n", elementaryos_logo[i]); - } - } - - else if (STRCMP(distro_str, "Scientific Linux")) - { - for (i = 0; i < 20; i++) - { - if (i < 16) - printf("%s %s%s%s%s\n", scientificlinux_logo[i], TLRD, data_names[i], TNRM, data[i]); - else - printf("%s\n", scientificlinux_logo[i]); - } - } - - else if (STRCMP(distro_str, "Backtrack Linux")) - { - for (i = 0; i < 20; i++) - { - if (i < 16) - printf("%s %s%s%s%s\n", backtracklinux_logo[i], TLRD, data_names[i], TNRM, data[i]); - else - printf("%s\n", backtracklinux_logo[i]); - } - } - - else if (STRCMP(distro_str, "Sabayon")) - { - for (i = 0; i < 18; i++) - { - if (i < 16) - printf("%s %s%s%s%s\n", sabayon_logo[i], TLBL, data_names[i], TNRM, data[i]); - else - printf("%s\n", sabayon_logo[i]); - } - } - - else if (STRCMP(distro_str, "Android")) - { - for (i = 0; i < 16; i++) - { - if (i < 12) - printf("%s %s%s%s%s\n", android_logo[i], TLGN, data_names[i], TNRM, data[i]); - else - printf("%s\n", android_logo[i]); - } - } - - else if (STRCMP(distro_str, "Angstrom")) - { - for (i = 0; i < 16; i++) - { - printf("%s %s%s\n", angstrom_logo[i], data_names[i], data[i]); - } - } - - else /* if (STRCMP(distro_str, "Linux")) */ - { - for (i = 0; i < 18; i++) - { - if (i < 16) - printf("%s %s%s%s%s\n", linux_logo[i], TLGY, data_names[i], TNRM, data[i]); - else - printf("%s\n", linux_logo[i]); - } - } - } - - else if (OS == FREEBSD) - { - for (i = 0; i < 18; i++) - { - if (i < 16) - printf("%s %s%s%s%s\n", freebsd_logo[i], TLRD, data_names[i], TNRM, data[i]); - else - printf("%s\n", freebsd_logo[i]); - } - } - - else if (OS == OPENBSD) - { - for (i = 0; i < 23; i++) - { - if (i < 16) - printf("%s %s%s\n", openbsd_logo[i], data_names[i], data[i]); - else - printf("%s\n", openbsd_logo[i]); - } - } - - else if (OS == NETBSD) - { - for (i = 0; i < 23; i++) - { - if (i < 16) - printf("%s %s%s\n", netbsd_logo[i], data_names[i], data[i]); - else - printf("%s\n", netbsd_logo[i]); - } - } - - else if (OS == DFBSD) - { - for (i = 0; i < 23; i++) - { - if (i < 16) - printf("%s %s%s\n", dragonflybsd_logo[i], data_names[i], data[i]); - else - printf("%s\n", dragonflybsd_logo[i]); - } - } - - else if (OS == SOLARIS) - { - for (i = 0; i < 17; i++) - { - if (i < 16) - printf("%s %s%s\n", solaris_logo[i], data_names[i], data[i]); - else - printf("%s\n", solaris_logo[i]); - } - } - - return; -} - -/* main_text_output - the secondary output for screenfetch-c - all info WITHOUT ASCII art is printed here - arguments char *data[], char *data_names[]: string arrays containing the names and data acquired -*/ -void main_text_output(char *data[], char *data_names[]) -{ - int i; - - for (i = 0; i < 16; i++) - printf("%s %s\n", data_names[i], data[i]); - - return; -} - /* take_screenshot takes a screenshot and saves it to $HOME/screenfetch_screenshot.jpg */ diff --git a/src/screenfetch-c.h b/src/screenfetch-c.h index e269177..be462ea 100644 --- a/src/screenfetch-c.h +++ b/src/screenfetch-c.h @@ -94,12 +94,7 @@ void detect_wm_theme(char *str); void detect_gtk(char *str); /* other function definitions */ -int manual_input(void); -void output_logo_only(char *distro); -void main_ascii_output(char *data[], char *data_names[]); -void main_text_output(char *data[], char *data_names[]); -char *safe_strncpy(char *destination, const char *source, size_t num); -void split_uptime(long uptime, int *secs, int *mins, int *hrs, int *days); +int manual_input(bool verbose); void take_screenshot(void); #endif /* SCREENFETCH_C_H */ diff --git a/src/detectde b/src/scripts/detectde similarity index 100% rename from src/detectde rename to src/scripts/detectde diff --git a/src/detectgpu b/src/scripts/detectgpu similarity index 100% rename from src/detectgpu rename to src/scripts/detectgpu diff --git a/src/detectgtk b/src/scripts/detectgtk similarity index 100% rename from src/detectgtk rename to src/scripts/detectgtk diff --git a/src/detectwm b/src/scripts/detectwm similarity index 100% rename from src/detectwm rename to src/scripts/detectwm diff --git a/src/detectwmtheme b/src/scripts/detectwmtheme similarity index 100% rename from src/detectwmtheme rename to src/scripts/detectwmtheme diff --git a/src/util.c b/src/util.c new file mode 100644 index 0000000..d359896 --- /dev/null +++ b/src/util.c @@ -0,0 +1,40 @@ +/* util.c + Author: William Woodruff + ------------- + + Utility functions used by screenfetch-c. + Like the rest of screenfetch-c, this file is licensed under the MIT license. + You should have received a copy of it with this code. +*/ + +#include + +/* safe_strncpy + calls strncpy with the given params, then inserts a null char at the last position + returns a pointer to a string containing the copied data (same as destination) +*/ +char *safe_strncpy(char *destination, const char *source, size_t num) +{ + char *ret = strncpy(destination, source, num); + ret[num - 1] = '\0'; + return ret; +} + +/* split_uptime + splits param uptime into individual time-units + argument long uptime: the uptime, in seconds, to be split + arguments int *secs...*days: pointers to ints where the split uptime will be stored + -- + CAVEAT: uptime MUST be in seconds + -- +*/ +void split_uptime(long uptime, int *secs, int *mins, int *hrs, int *days) +{ + *secs = (int) uptime % 60; + *mins = (int) (uptime / 60) % 60; + *hrs = (int) (uptime / 3600) % 24; + *days = (int) (uptime / 86400); + + return; +} + diff --git a/src/util.h b/src/util.h new file mode 100644 index 0000000..3df0974 --- /dev/null +++ b/src/util.h @@ -0,0 +1,16 @@ +/* util.h + Author: William Woodruff + ------------- + + Function prototypes for util.c. + Like the rest of screenfetch-c, this file is licensed under the MIT license. + You should have received a copy of it with this code. +*/ + +#ifndef SCREENFETCH_C_UTIL_H +#define SCREENFETCH_C_UTIL_H + +char *safe_strncpy(char *destination, const char *source, size_t num); +void split_uptime(long uptime, int *secs, int *mins, int *hrs, int *days); + +#endif /* SCREENFETCH_C_UTIL_H */ diff --git a/src/version.h b/src/version.h index 691ecc0..c5fc9c9 100644 --- a/src/version.h +++ b/src/version.h @@ -12,7 +12,7 @@ /* version macros */ #define SCREENFETCH_C_VERSION_MAJOR "1" -#define SCREENFETCH_C_VERSION_MINOR "2" -#define SCREENFETCH_C_VERSION_RELEASE "9" +#define SCREENFETCH_C_VERSION_MINOR "3" +#define SCREENFETCH_C_VERSION_RELEASE "0" #endif /* SCREENFETCH_C_VERSION_H */