mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-10-30 09:33:39 +01:00
@@ -284,9 +284,13 @@ static void applyPrettyNameIfDE(const FFinstance* instance, FFDisplayServerResul
|
||||
{
|
||||
if(!ffStrSet(name))
|
||||
return;
|
||||
else if(strcasestr(name, "plasma") != NULL || strcasestr(name, "kde") != NULL)
|
||||
else if(strcasestr(name, "plasma") != NULL)
|
||||
getKDE(instance, result);
|
||||
else if(strcasestr(name, "gnome") != NULL)
|
||||
else if(
|
||||
strcasecmp(name, "polkit-gnome") != 0 &&
|
||||
strcasecmp(name, "gnome-keyring") != 0 &&
|
||||
strcasestr(name, "gnome") != NULL
|
||||
)
|
||||
getGnome(instance, result);
|
||||
else if(strcasestr(name, "cinnamon") != NULL)
|
||||
getCinnamon(instance, result);
|
||||
|
||||
Reference in New Issue
Block a user