mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-11-03 11:44:18 +01:00
OS (Linux): adds Ubuntu Unity detection
This commit is contained in:
@@ -170,6 +170,13 @@ FF_A_UNUSED static bool getUbuntuFlavour(FFOSResult* result) {
|
||||
return false;
|
||||
}
|
||||
|
||||
if (ffStrContains(xdgConfigDirs, "unity")) {
|
||||
ffStrbufSetStatic(&result->name, "Ubuntu Unity");
|
||||
ffStrbufSetStatic(&result->id, "ubuntu-unity");
|
||||
ffStrbufSetStatic(&result->idLike, "ubuntu");
|
||||
return false;
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user