diff --git a/src/detection/os/os_linux.c b/src/detection/os/os_linux.c index b87a9ce7b..a876ef679 100644 --- a/src/detection/os/os_linux.c +++ b/src/detection/os/os_linux.c @@ -170,6 +170,15 @@ FF_MAYBE_UNUSED static void getUbuntuFlavour(FFOSResult* result) return; } + if(ffStrContains(xdgConfigDirs, "xubuntu")) + { + ffStrbufSetStatic(&result->name, "Xubuntu"); + ffStrbufSetF(&result->prettyName, "Xubuntu %s", result->version.chars); + ffStrbufSetStatic(&result->id, "xubuntu"); + ffStrbufSetStatic(&result->idLike, "ubuntu"); + return; + } + if(ffStrContains(xdgConfigDirs, "lliurex")) { ffStrbufSetStatic(&result->name, "LliureX"); diff --git a/src/logo/ascii/xubuntu.txt b/src/logo/ascii/xubuntu.txt new file mode 100644 index 000000000..5b52ed44c --- /dev/null +++ b/src/logo/ascii/xubuntu.txt @@ -0,0 +1,19 @@ + __ygg@@@@@@@@@ggy__ + _yg@@@@@@@@@@@@@@@@@@@@@gy_ + _a@@@@@@@@@@@@@@@@@@@@@@@@@@@@@y_ + _a@@@@@@@@@@@@@@@@@@@@@@@$2#$1@@@@@@@@@g_ + a@@@@@@@@@@@@@$2###$1@@@@@@@@$2##$1@@@@$2##$1@@@@@k + g@@@@@@@$2###$1@@@$2#####$1@@@@@@@$2##$1@@$2###$1@@@@@@@k + a@@@@@@@@$2#####$1@$2#####$1@@@@@@$2##$1@@$2###$1@@@@@@@@@k +j@@@@@@@@@$2############$1@@@@@$2##$1@$2###$1@@@@@@@@@@@k +g@@@@@@@@@$2#####################$1@@@@@@@@@@@@@@ +@@@@@@@@@$2##########################$1@@@@@@@@@@ +0@@@@@@@@$2###########################$1@@@@@@@@@ +~@@@@@@@$2############################$1@@@@@@@@F + 9@@@@@@$2##########################$1@@@@@@@@@P + 4@@@@@@$2######################$1@@@@@@@@@@@P + ~@@@@@@$2################$1@@@@@@@@@@@@@@@F + `4@@@@@@$2#######$1@@@@@@@@@@@@@@@@@@@@P` + `~@@@@@@@@@@@@@@@@@@@@@@@@@@@@@F` + ~~4@@@@@@@@@@@@@@@@@@@@@P~~ + `~~=R@@@@@@@@@P=~~~ \ No newline at end of file diff --git a/src/logo/builtin.c b/src/logo/builtin.c index 50812b927..bbfcb3d9d 100644 --- a/src/logo/builtin.c +++ b/src/logo/builtin.c @@ -5380,6 +5380,15 @@ static const FFlogo X[] = { FF_COLOR_FG_CYAN, }, }, + // Xubuntu + { + .names = {"Xubuntu"}, + .lines = FASTFETCH_DATATEXT_LOGO_XUBUNTU, + .colors = { + FF_COLOR_FG_256 "25", + FF_COLOR_FG_DEFAULT, + }, + }, // LAST {}, };