Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Lliurex Art #1257

Merged
merged 6 commits into from
Sep 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions src/detection/os/os_linux.c
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,15 @@ static void getUbuntuFlavour(FFOSResult* result)
ffStrbufSetS(&result->idLike, "ubuntu");
return;
}

if(ffStrContains(xdgConfigDirs, "lliurex"))
{
ffStrbufSetS(&result->name, "LliureX");
ffStrbufSetS(&result->prettyName, "LliureX");
ffStrbufSetS(&result->id, "lliurex");
ffStrbufSetS(&result->idLike, "ubuntu");
return;
}
}

static void getDebianVersion(FFOSResult* result)
Expand Down
16 changes: 16 additions & 0 deletions src/logo/ascii/lliurex.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
~. ........
::~~ +=: ~:========:~
..~:+oo===oo:.~+oooooooooooo+~
.:+==ooooooooooo==ooooooooooooooo:
.:=oooooooooooooooooooooooooooooooo=
.. .=oooooooooooooooooooooooooooooooooo=
==. .+ooooooooooooooooooooooooooooooooooo=
~+:~:oooooooooooooooooooooooooooooooooooo:
~ooooooooooooooooooooooooooooooooooooo=:
~oooooooooooooooooooooooooooooooooo==:.
.+oooooooooooooooooooooooooo=~::::~..
~+oooooooooooooooooooooooo=:
.:=ooooooooooooooooooooo=:
.:==ooooooooooooooo==:.
~~:===oooooo==+:~
...~~:~::..
30 changes: 20 additions & 10 deletions src/logo/builtin.c
Original file line number Diff line number Diff line change
Expand Up @@ -2295,6 +2295,16 @@ static const FFlogo K[] = {
};

static const FFlogo L[] = {
// LainOS
{
.names = {"LainOS"},
.lines = FASTFETCH_DATATEXT_LOGO_LAINOS,
.colors = {
FF_COLOR_FG_BLUE,
FF_COLOR_FG_256 "14",
FF_COLOR_FG_WHITE,
},
},
// LangitKetujuh
{
.names = {"langitketujuh", "l7"},
Expand Down Expand Up @@ -2469,6 +2479,16 @@ static const FFlogo L[] = {
.colorKeys = FF_COLOR_FG_YELLOW,
.colorTitle = FF_COLOR_FG_WHITE,
},
// LliureX
{
.names = {"LliureX"},
.lines = FASTFETCH_DATATEXT_LOGO_LLIUREX,
.colors = {
FF_COLOR_FG_BLUE,
},
.colorKeys = FF_COLOR_FG_WHITE,
.colorTitle = FF_COLOR_FG_BLUE,
},
// LMDE
{
.names = {"LMDE"},
Expand All @@ -2480,16 +2500,6 @@ static const FFlogo L[] = {
.colorKeys = FF_COLOR_FG_GREEN,
.colorTitle = FF_COLOR_FG_WHITE,
},
// LainOS
{
.names = {"LainOS"},
.lines = FASTFETCH_DATATEXT_LOGO_LAINOS,
.colors = {
FF_COLOR_FG_BLUE,
FF_COLOR_FG_256 "14",
FF_COLOR_FG_WHITE,
},
},
// Loc-OS
{
.names = {"locos", "loc-os", "Loc-OS Linux"},
Expand Down
Loading