Skip to content

Commit 59c8082

Browse files
authored
feat: Add Rhino Linux ASCII (#1487)
Cramp all additions into one commit because I like to do it that way. xD Co-authored-by: Bahar KURT <[email protected]>
1 parent c11e14f commit 59c8082

File tree

3 files changed

+33
-0
lines changed

3 files changed

+33
-0
lines changed

src/detection/os/os_linux.c

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,14 @@ FF_MAYBE_UNUSED static void getUbuntuFlavour(FFOSResult* result)
8080
ffStrbufSetS(&result->versionID, result->prettyName.chars + strlen("Linux Lite "));
8181
return;
8282
}
83+
else if(ffStrbufStartsWithS(&result->prettyName, "Rhino Linux "))
84+
{
85+
ffStrbufSetS(&result->name, "Rhino Linux");
86+
ffStrbufSetS(&result->id, "rhinolinux");
87+
ffStrbufSetS(&result->idLike, "ubuntu");
88+
ffStrbufSetS(&result->versionID, result->prettyName.chars + strlen("Rhino Linux "));
89+
return;
90+
}
8391

8492
if(ffStrContains(xdgConfigDirs, "kde") || ffStrContains(xdgConfigDirs, "plasma") || ffStrContains(xdgConfigDirs, "kubuntu"))
8593
{

src/logo/ascii/rhino.txt

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
${c1} .;:;,. .:
2+
${c1} 'coooooooo:oo.';.
3+
${c1} ,oooooooooooooooo ;
4+
${c1} clllcccllloooooooo;c:'o
5+
${c1}.${c4};${c3}';:::::::::${c1}cclooooooo'
6+
${c4}''',${c3}::::::::::::::${c1}ccclc.
7+
${c4}.'''${c3};::::::::::${c2}l${c3}:::::::
8+
${c4} ''''${c3},:::::::::${c2}kd${c3}.
9+
${c4} .'''''${c3},;::${c2}ck:${c2}oW${c3};
10+
${c4} ''''''''${c2}kXOM.
11+
${c4} .,,:${c2}dXMK
12+
${c4} ${c2}:k

src/logo/builtin.c

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3989,6 +3989,19 @@ static const FFlogo R[] = {
39893989
.colorKeys = FF_COLOR_FG_BLUE,
39903990
.colorTitle = FF_COLOR_FG_BLUE,
39913991
},
3992+
// RhinoLinux
3993+
{
3994+
.names = {"Rhino Linux"},
3995+
.lines = FASTFETCH_DATATEXT_LOGO_RHINO,
3996+
.colors = {
3997+
FF_COLOR_FG_MAGENTA,
3998+
FF_COLOR_FG_LIGHT_BLUE,
3999+
FF_COLOR_FG_LIGHT_MAGENTA,
4000+
FF_COLOR_FG_MAGENTA,
4001+
},
4002+
.colorKeys = FF_COLOR_FG_MAGENTA,
4003+
.colorTitle = FF_COLOR_FG_MAGENTA,
4004+
},
39924005
// LAST
39934006
{},
39944007
};

0 commit comments

Comments
 (0)