mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-11-06 13:14:21 +01:00
--os-architecture option
This commit is contained in:
+5
-1
@@ -14,7 +14,11 @@ void ffPrintOS(FFinstance* instance)
|
||||
}
|
||||
|
||||
char os[1024];
|
||||
sprintf(os, "%s %s", name, instance->state.utsname.machine);
|
||||
|
||||
if(instance->config.osShowArchitecture)
|
||||
sprintf(os, "%s %s", name, instance->state.utsname.machine);
|
||||
else
|
||||
strcpy(os, name);
|
||||
|
||||
ffPrintAndSaveCachedValue(instance, "OS", os);
|
||||
}
|
||||
Reference in New Issue
Block a user