mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-10-29 16:26:39 +01:00
Logo (Builtin): detect and add TrueNAS Scale
This commit is contained in:
@@ -240,6 +240,15 @@ FF_MAYBE_UNUSED static bool detectDebianDerived(FFOSResult* result)
|
||||
ffStrbufSetS(&result->prettyName, "Raspberry Pi OS");
|
||||
return true;
|
||||
}
|
||||
else if (ffStrbufEndsWithS(&instance.state.platform.sysinfo.release, "+truenas"))
|
||||
{
|
||||
// TrueNAS Scale
|
||||
ffStrbufSetS(&result->id, "truenas-scale");
|
||||
ffStrbufSetS(&result->idLike, "debian");
|
||||
ffStrbufSetS(&result->name, "TrueNAS Scale");
|
||||
ffStrbufSetS(&result->prettyName, "TrueNAS Scale");
|
||||
return true;
|
||||
}
|
||||
else
|
||||
{
|
||||
// Hack for MX Linux. See #847
|
||||
|
||||
@@ -0,0 +1,18 @@
|
||||
++ $2++
|
||||
$1++++++ $2++++++
|
||||
$1+++++++++ $2+++++++++
|
||||
$1+++++++ $2+++++++
|
||||
$1+++ $2+++ $1+ $3--------$1 $2+ $1+++ $2+++
|
||||
$1++++++ $2++++++ $3------$1 ++++++ $2++++++
|
||||
$1++++++++ $2++++++++++ $1++++++++++ $2++++++++
|
||||
$1+++++++ $3--$1 $2+++++++ $1+++++++ $3--$1 $2+++++++
|
||||
$2+++ $1+ $3--------$1 $2+ $1+++ $2+++ $1+ $3--------$1 $2+ $1+++
|
||||
$2++++++ $3--------$1 ++++++ $2++++++ $3--------$1 ++++++
|
||||
$2++++++++++ $1+++++++++ $2+++++++++ $1++++++++++
|
||||
$2+++++++++ $1+++++++ $3--$1 $2+++++++ $1+++++++++
|
||||
$2+++++ +++ $3--------$1 +++ +++++
|
||||
$2++ +++++++ $3------$1 +++++++ ++
|
||||
$2++++++++++ $1++++++++++
|
||||
$2++++++++ $1++++++++
|
||||
$2+++++ $1+++++
|
||||
$2++ $1++
|
||||
@@ -4739,6 +4739,18 @@ static const FFlogo T[] = {
|
||||
FF_COLOR_FG_CYAN,
|
||||
},
|
||||
},
|
||||
// TrueNAS Scale
|
||||
{
|
||||
.names = {"TrueNAS-Scale"},
|
||||
.lines = FASTFETCH_DATATEXT_LOGO_TRUENAS_SCALE,
|
||||
.colors = {
|
||||
FF_COLOR_FG_256 "39",
|
||||
FF_COLOR_FG_256 "32",
|
||||
FF_COLOR_FG_256 "248",
|
||||
},
|
||||
.colorKeys = FF_COLOR_FG_256 "248",
|
||||
.colorTitle = FF_COLOR_FG_256 "32",
|
||||
},
|
||||
// TuxedoOS
|
||||
{
|
||||
.names = {"Tuxedo OS", "tuxedo"},
|
||||
|
||||
Reference in New Issue
Block a user