mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-11-10 07:00:08 +01:00
--os-architecture option
This commit is contained in:
1 parent
bc13b51b5a
commit
923faa63e5
5 files changed
+48
-1
No files matched your search
+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