From 4e68c09f2795e3bd91bdfa06998b688db0326a67 Mon Sep 17 00:00:00 2001 From: shivanandvp Date: Tue, 8 Mar 2022 11:39:23 -0600 Subject: [PATCH] Adding RebornOS to the supported logos (#140) * feat: Add logos for RebornOS * feat: Decrease the size of the RebornOS logo and prepare a better small RebornOS logo * fix: Align text for both the regular and small RebornOS logos --- README.md | 2 +- src/common/logo.c | 58 +++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 59 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index f493d4276..59b24d2c9 100644 --- a/README.md +++ b/README.md @@ -42,7 +42,7 @@ Title, Separator, OS, Host, Kernel, Uptime, Processes, Packages, Shell, Resoluti ##### Logos ``` -Android, Arch, Arco, Artix, CachyOS, CentOS, Debian, Endeavour, Fedora, Garuda, Gentoo, Manjaro, Mint, Pop!_OS, Ubuntu, Void, Zorin +Android, Arch, Arco, Artix, CachyOS, CentOS, Debian, Endeavour, Fedora, Garuda, Gentoo, Manjaro, Mint, Pop!_OS, RebornOS, Ubuntu, Void, 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/common/logo.c b/src/common/logo.c index 576798144..ba149cb6c 100644 --- a/src/common/logo.c +++ b/src/common/logo.c @@ -771,6 +771,62 @@ static const FFlogo* getLogoPopSmall() FF_LOGO_RETURN } +static const FFlogo* getLogoReborn() +{ + FF_LOGO_INIT + FF_LOGO_NAMES("reborn", "reborn-os", "rebornos", "rebornos-linux", "reborn-os-linux") + FF_LOGO_LINES( + "$1 ::::::::::::::::::::::: \n" + "$1 .:^!!!!!!!!!^.^!!!!!!!!!^:. \n" + "$1 .:~!!!!!!!!!!^.^!!!!!!!!!!~:. \n" + "$1 .:~!!!!!~~~~~~^.^~~~~~~!!!!!~:. \n" + "$1 .^!!!!!~::$2=====:.:=====$1::~!!!!!^. \n" + "$1 .::^~~!!~:$2^77777?~.~?77777^$1:~!!~~^::. \n" + "$1 .:~~^:::^.$2^77777!!^.^7!77777^$1.^:::^~~:. \n" + "$1 .:~!!!!~::::$2^~!!::^^^^^::!!~^$1::::~!!!!~:. \n" + "$1 .^!!!!!~::$2!7!~^:.^?JJJJJ?^.:^~!7!$1::~!!!!!^. \n" + "$1.:^!!!!!~:$2^77777~.~JJJJJJJJJ~.~77777^$1:~!!!!!^:.\n" + "$1.:^!!!!!~:$2^77777~.~JJJJJJJJJ~.~77777^$1:~!!!!!^:.\n" + "$1 .^!!!!!~::$2!7!~^:.^?JJJJJ?^.:^~!7!$1::~!!!!!^. \n" + "$1 .:~!!!!~::$2::^~!!::^^^^^::!!~^::$1::~!!!!~:. \n" + "$1 .:~~^:::^.$2^77777!!^.^7!77777^.$1^:::^~~:. \n" + "$1 .::^~~!!~:$2^77777?~.~?77777^$1:~!!~~^::. \n" + "$1 .^!!!!!~::$2=====:.:=====$1::~!!!!!^. \n" + "$1 .:~!!!!!~~~~~~^.^~~~~~~!!!!!~:. \n" + "$1 .:~!!!!!!!!!!^.^!!!!!!!!!!~:. \n" + "$1 .:^!!!!!!!!!^.^!!!!!!!!!^:. \n" + "$1 ::::::::::::::::::::::: \n" + ) + FF_LOGO_COLORS( + "34", //blue + "36" //cyan + ) + FF_LOGO_RETURN +} + +static const FFlogo* getLogoRebornSmall() +{ + FF_LOGO_INIT + FF_LOGO_NAMES("reborn_small", "reborn-os-small", "rebornos_small", "rebornos-linux-small", "reborn-os-linux-small") + FF_LOGO_LINES( + "$1 _______________ \n" + "$1 / \\ / \\ \n" + "$1 / \\_______/ \\ \n" + "$1 / / \\ / \\ \\ \n" + "$1 / / \\___/ \\ \\ \n" + "$1/____/____/ \\____\\____\\ \n" + "$1\\ \\ \\___/ / / \n" + "$1 \\ \\ / \\ / / \n" + "$1 \\ \\/_______\\/ / \n" + "$1 \\ / \\ / \n" + "$1 \\_/___________\\_/ \n" + ) + FF_LOGO_COLORS( + "34" //blue + ) + FF_LOGO_RETURN +} + static const FFlogo* getLogoUbuntu() { FF_LOGO_INIT @@ -935,6 +991,8 @@ static GetLogoMethod* getLogoMethods() getLogoMintOld, getLogoPop, getLogoPopSmall, + getLogoReborn, + getLogoRebornSmall, getLogoUbuntu, getLogoUbuntuSmall, getLogoVoid,