mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-10-30 17:41:41 +01:00
e0eba8ce21
```bash find . -type f \( -name "*.c" -o -name "*.h" -o -name "*.cpp" -o -name "*.hpp" \) ! -path "src/3rdparty/*" -print0 | xargs -0 clang-format -i ```
20 lines
363 B
C
20 lines
363 B
C
#pragma once
|
|
|
|
#include "fastfetch.h"
|
|
#include "modules/os/option.h"
|
|
|
|
typedef struct FFOSResult {
|
|
FFstrbuf name;
|
|
FFstrbuf prettyName;
|
|
FFstrbuf id;
|
|
FFstrbuf idLike;
|
|
FFstrbuf variant;
|
|
FFstrbuf variantID;
|
|
FFstrbuf version;
|
|
FFstrbuf versionID;
|
|
FFstrbuf codename;
|
|
FFstrbuf buildID;
|
|
} FFOSResult;
|
|
|
|
const FFOSResult* ffDetectOS();
|