From 4890cb641cbf6e5afcc1fc7a529c75326ddcf9fc Mon Sep 17 00:00:00 2001 From: IamNotARobot Date: Sat, 31 Dec 2022 17:52:47 +0100 Subject: [PATCH 1/2] RaspberryPi Logo, RaspberryPi small logo --- src/logo/builtin.c | 73 ++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 71 insertions(+), 2 deletions(-) diff --git a/src/logo/builtin.c b/src/logo/builtin.c index d13b7e4f80..f56050a85c 100644 --- a/src/logo/builtin.c +++ b/src/logo/builtin.c @@ -1032,8 +1032,8 @@ static const FFlogo* getLogoKDENeon() FF_LOGO_COLORS( "32" //green ) - FF_LOGO_COLOR_KEYS("32"); //green - FF_LOGO_COLOR_TITLE("32"); //green + FF_LOGO_COLOR_KEYS("31"); //red + FF_LOGO_COLOR_TITLE("31"); //red FF_LOGO_RETURN } @@ -1872,6 +1872,73 @@ static const FFlogo* getLogoPopSmall() FF_LOGO_RETURN } +static const FFlogo* getLogoRaspberryPi() +{ + FF_LOGO_INIT + FF_LOGO_NAMES("raspbian", "raspi", "raspberrypi" "raspberrypios" "pios") + FF_LOGO_LINES( + " $2`.::///+:/-. --///+//-:`\n" + " `+oooooooooooo: `+oooooooooooo:\n" + " /oooo++//ooooo: ooooo+//+ooooo.\n" + " `+ooooooo:-:oo- +o+::/ooooooo:\n" + " `:oooooooo+`` `.oooooooo+-\n" + " `:++ooo/. :+ooo+/.`$1\n" + " ...` `.----.` ``..\n" + " .::::-``:::::::::.`-:::-`\n" + " -:::-` .:::::::-` `-:::-\n" + " `::. `.--.` `` `.---.``.::`\n" + " .::::::::` -::::::::` `\n" + " .::` .:::::::::- `::::::::::``::.\n" + "-:::` ::::::::::. ::::::::::.`:::-\n" + ":::: -::::::::. `-:::::::: ::::\n" + "-::- .-:::-.``....``.-::-. -::-\n" + " .. `` .::::::::. `..`..\n" + " -:::-` -::::::::::` .:::::`\n" + " :::::::` -::::::::::` :::::::.\n" + " .::::::: -::::::::. ::::::::\n" + " `-:::::` ..--.` ::::::.\n" + " `...` `...--..` `...`\n" + " .::::::::::\n" + " `.-::::-`" + ) + FF_LOGO_COLORS( + "31", //red + "32" //green + ) + FF_LOGO_COLOR_KEYS("31"); //red + FF_LOGO_COLOR_TITLE("32"); //green + FF_LOGO_RETURN +} + + +static const FFlogo* getLogoRaspberryPiSmall() +{ + FF_LOGO_INIT + FF_LOGO_NAMES("raspbian_small", "raspi_small", "raspberrypi_small" "pios_small") + FF_LOGO_LINES( + " $2.~~. .~~.\n" + " '. \ ' ' / .'$1\n" + " .~ .~~~..~.\n" + " : .~.'~'.~. :\n" + " ~ ( ) ( ) ~\n" + "( : '~'.~.'~' : )\n" + " ~ .~ ( ) ~. ~\n" + " ( : '~' : )\n" + " '~ .~~~. ~'\n" + " '~'" + ) + FF_LOGO_COLORS( + "31", //red + "32" //green + ) + FF_LOGO_COLOR_KEYS("31"); //red + FF_LOGO_COLOR_TITLE("32"); //green + FF_LOGO_RETURN +} + + + + static const FFlogo* getLogoReborn() { FF_LOGO_INIT @@ -2428,6 +2495,8 @@ GetLogoMethod* ffLogoBuiltinGetAll() getLogoOpenMandriva, getLogoPop, getLogoPopSmall, + getLogoRaspberryPi, + getLogoRaspberryPiSmall, getLogoParabola, getLogoParabolaSmall, getLogoReborn, From 34c33dd42f16ce6c752217a0f835c11d13286ecf Mon Sep 17 00:00:00 2001 From: IamNoRobot Date: Sun, 1 Jan 2023 18:05:09 +0100 Subject: [PATCH 2/2] RaspberryPi Logo, RaspberryPi small logo --- README.md | 2 +- src/logo/builtin.c | 19 +++++++------------ 2 files changed, 8 insertions(+), 13 deletions(-) diff --git a/README.md b/README.md index 54d51b7eca..3d856516ee 100644 --- a/README.md +++ b/README.md @@ -89,7 +89,7 @@ Title, Separator, OS, Host, Bios, Board, Kernel, Uptime, Processes, Packages, Sh ##### Logos ``` -AlmaLinux, Alpine, Android, Arch, Arco, Artix, Bedrock, CachyOS, CentOS, CRUX, Crystal, Debian, Devuan, Deepin, Endeavour, Enso, Fedora, FreeBSD, Garuda, Gentoo, KDE Neon, KISS, Kubuntu, LangitKetujuh, Linux, MacOS, Manjaro, Mint, MSYS2, NixOS, Nobara, OpenSUSE, OpenSUSE Tumbleweed, OpenSUSE LEAP, Parabola, Pop!_OS, RebornOS, RedstarOS, Rocky, Rosa, Slackware, Solus, Ubuntu, Vanilla, Void, Windows 11, Windows 8, Windows, Zorin +AlmaLinux, Alpine, Android, Arch, Arco, Artix, Bedrock, CachyOS, CentOS, CRUX, Crystal, Debian, Devuan, Deepin, Endeavour, Enso, Fedora, FreeBSD, Garuda, Gentoo, KDE Neon, KISS, Kubuntu, LangitKetujuh, Linux, MacOS, Manjaro, Mint, MSYS2, NixOS, Nobara, OpenSUSE, OpenSUSE Tumbleweed, OpenSUSE LEAP, Parabola, Raspbian, Pop!_OS, RebornOS, RedstarOS, Rocky, Rosa, Slackware, Solus, Ubuntu, Vanilla, Void, Windows 11, Windows 8, Windows, Zorin ``` * Most of the logos have a small variant. Access it by appending _small to the logo name. * Some logos have an old variant. Access it by appending _old to the logo name. diff --git a/src/logo/builtin.c b/src/logo/builtin.c index f56050a85c..9f1e097d8d 100644 --- a/src/logo/builtin.c +++ b/src/logo/builtin.c @@ -1032,8 +1032,8 @@ static const FFlogo* getLogoKDENeon() FF_LOGO_COLORS( "32" //green ) - FF_LOGO_COLOR_KEYS("31"); //red - FF_LOGO_COLOR_TITLE("31"); //red + FF_LOGO_COLOR_KEYS("32"); //green + FF_LOGO_COLOR_TITLE("32"); //green FF_LOGO_RETURN } @@ -1871,8 +1871,7 @@ static const FFlogo* getLogoPopSmall() FF_LOGO_COLOR_TITLE("36"); //cyan FF_LOGO_RETURN } - -static const FFlogo* getLogoRaspberryPi() +static const FFlogo* getLogoRaspbian() { FF_LOGO_INIT FF_LOGO_NAMES("raspbian", "raspi", "raspberrypi" "raspberrypios" "pios") @@ -1910,11 +1909,10 @@ static const FFlogo* getLogoRaspberryPi() FF_LOGO_RETURN } - -static const FFlogo* getLogoRaspberryPiSmall() +static const FFlogo* getLogoRaspbianSmall() { FF_LOGO_INIT - FF_LOGO_NAMES("raspbian_small", "raspi_small", "raspberrypi_small" "pios_small") + FF_LOGO_NAMES("raspbian_small", "raspi_small", "raspberrypi_small" "raspberrypios_small" "pios_small") FF_LOGO_LINES( " $2.~~. .~~.\n" " '. \ ' ' / .'$1\n" @@ -1936,9 +1934,6 @@ static const FFlogo* getLogoRaspberryPiSmall() FF_LOGO_RETURN } - - - static const FFlogo* getLogoReborn() { FF_LOGO_INIT @@ -2495,10 +2490,10 @@ GetLogoMethod* ffLogoBuiltinGetAll() getLogoOpenMandriva, getLogoPop, getLogoPopSmall, - getLogoRaspberryPi, - getLogoRaspberryPiSmall, getLogoParabola, getLogoParabolaSmall, + getLogoRaspbian, + getLogoRaspbianSmall, getLogoReborn, getLogoRebornSmall, getLogoRedHatEnterpriseLinux,