2022-07-26 18:06:30 +02:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
|
|
#include "fastfetch.h"
|
|
|
|
|
|
|
|
|
|
typedef struct FFTerminalShellResult
|
|
|
|
|
{
|
|
|
|
|
FFstrbuf shellProcessName;
|
|
|
|
|
FFstrbuf shellExe;
|
|
|
|
|
const char* shellExeName; //pointer to a char in shellExe
|
2022-10-09 16:51:53 +08:00
|
|
|
FFstrbuf shellPrettyName;
|
2022-07-26 18:06:30 +02:00
|
|
|
FFstrbuf shellVersion;
|
2023-01-29 20:30:13 +08:00
|
|
|
uint32_t shellPid;
|
2022-07-26 18:06:30 +02:00
|
|
|
|
|
|
|
|
FFstrbuf terminalProcessName;
|
|
|
|
|
FFstrbuf terminalExe;
|
2022-10-09 16:51:53 +08:00
|
|
|
FFstrbuf terminalPrettyName;
|
2022-07-26 18:06:30 +02:00
|
|
|
const char* terminalExeName; //pointer to a char in terminalExe
|
2023-01-10 19:24:59 +08:00
|
|
|
FFstrbuf terminalVersion;
|
2023-01-29 20:30:13 +08:00
|
|
|
uint32_t terminalPid;
|
2022-07-26 18:06:30 +02:00
|
|
|
} FFTerminalShellResult;
|
|
|
|
|
|
2023-06-24 10:59:53 +08:00
|
|
|
const FFTerminalShellResult* ffDetectTerminalShell();
|