Skip to content

Commit c069d14

Browse files
Merge pull request #373 from IamNoRobot/pi-logo
RaspberryPi Logo, RaspberryPi small logo
2 parents dcc22f3 + 34c33dd commit c069d14

File tree

2 files changed

+65
-1
lines changed

2 files changed

+65
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ Title, Separator, OS, Host, Bios, Board, Kernel, Uptime, Processes, Packages, Sh
8989

9090
##### Logos
9191
```
92-
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
92+
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
9393
```
9494
* Most of the logos have a small variant. Access it by appending _small to the logo name.
9595
* Some logos have an old variant. Access it by appending _old to the logo name.

src/logo/builtin.c

Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1871,6 +1871,68 @@ static const FFlogo* getLogoPopSmall()
18711871
FF_LOGO_COLOR_TITLE("36"); //cyan
18721872
FF_LOGO_RETURN
18731873
}
1874+
static const FFlogo* getLogoRaspbian()
1875+
{
1876+
FF_LOGO_INIT
1877+
FF_LOGO_NAMES("raspbian", "raspi", "raspberrypi" "raspberrypios" "pios")
1878+
FF_LOGO_LINES(
1879+
" $2`.::///+:/-. --///+//-:`\n"
1880+
" `+oooooooooooo: `+oooooooooooo:\n"
1881+
" /oooo++//ooooo: ooooo+//+ooooo.\n"
1882+
" `+ooooooo:-:oo- +o+::/ooooooo:\n"
1883+
" `:oooooooo+`` `.oooooooo+-\n"
1884+
" `:++ooo/. :+ooo+/.`$1\n"
1885+
" ...` `.----.` ``..\n"
1886+
" .::::-``:::::::::.`-:::-`\n"
1887+
" -:::-` .:::::::-` `-:::-\n"
1888+
" `::. `.--.` `` `.---.``.::`\n"
1889+
" .::::::::` -::::::::` `\n"
1890+
" .::` .:::::::::- `::::::::::``::.\n"
1891+
"-:::` ::::::::::. ::::::::::.`:::-\n"
1892+
":::: -::::::::. `-:::::::: ::::\n"
1893+
"-::- .-:::-.``....``.-::-. -::-\n"
1894+
" .. `` .::::::::. `..`..\n"
1895+
" -:::-` -::::::::::` .:::::`\n"
1896+
" :::::::` -::::::::::` :::::::.\n"
1897+
" .::::::: -::::::::. ::::::::\n"
1898+
" `-:::::` ..--.` ::::::.\n"
1899+
" `...` `...--..` `...`\n"
1900+
" .::::::::::\n"
1901+
" `.-::::-`"
1902+
)
1903+
FF_LOGO_COLORS(
1904+
"31", //red
1905+
"32" //green
1906+
)
1907+
FF_LOGO_COLOR_KEYS("31"); //red
1908+
FF_LOGO_COLOR_TITLE("32"); //green
1909+
FF_LOGO_RETURN
1910+
}
1911+
1912+
static const FFlogo* getLogoRaspbianSmall()
1913+
{
1914+
FF_LOGO_INIT
1915+
FF_LOGO_NAMES("raspbian_small", "raspi_small", "raspberrypi_small" "raspberrypios_small" "pios_small")
1916+
FF_LOGO_LINES(
1917+
" $2.~~. .~~.\n"
1918+
" '. \ ' ' / .'$1\n"
1919+
" .~ .~~~..~.\n"
1920+
" : .~.'~'.~. :\n"
1921+
" ~ ( ) ( ) ~\n"
1922+
"( : '~'.~.'~' : )\n"
1923+
" ~ .~ ( ) ~. ~\n"
1924+
" ( : '~' : )\n"
1925+
" '~ .~~~. ~'\n"
1926+
" '~'"
1927+
)
1928+
FF_LOGO_COLORS(
1929+
"31", //red
1930+
"32" //green
1931+
)
1932+
FF_LOGO_COLOR_KEYS("31"); //red
1933+
FF_LOGO_COLOR_TITLE("32"); //green
1934+
FF_LOGO_RETURN
1935+
}
18741936

18751937
static const FFlogo* getLogoReborn()
18761938
{
@@ -2430,6 +2492,8 @@ GetLogoMethod* ffLogoBuiltinGetAll()
24302492
getLogoPopSmall,
24312493
getLogoParabola,
24322494
getLogoParabolaSmall,
2495+
getLogoRaspbian,
2496+
getLogoRaspbianSmall,
24332497
getLogoReborn,
24342498
getLogoRebornSmall,
24352499
getLogoRedHatEnterpriseLinux,

0 commit comments

Comments
 (0)