mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-11-12 14:31:00 +01:00
29 lines
584 B
C
29 lines
584 B
C
#pragma once
|
|
|
|
#include "fastfetch.h"
|
|
|
|
typedef struct FFShellResult
|
|
{
|
|
FFstrbuf processName;
|
|
FFstrbuf exe;
|
|
const char* exeName; //pointer to a char in exe
|
|
FFstrbuf prettyName;
|
|
FFstrbuf version;
|
|
uint32_t pid;
|
|
uint32_t ppid;
|
|
} FFShellResult;
|
|
|
|
typedef struct FFTerminalResult
|
|
{
|
|
FFstrbuf processName;
|
|
FFstrbuf exe;
|
|
FFstrbuf prettyName;
|
|
const char* exeName; //pointer to a char in exe
|
|
FFstrbuf version;
|
|
uint32_t pid;
|
|
uint32_t ppid;
|
|
} FFTerminalResult;
|
|
|
|
const FFShellResult* ffDetectShell();
|
|
const FFTerminalResult* ffDetectTerminal();
|