Battery: major code refactoring

ditto
This commit is contained in:
李通洲
2023-03-07 16:13:53 +08:00
parent 6cb073e6a5
commit 4e3e469ba8
16 changed files with 122 additions and 39 deletions
+17
View File
@@ -0,0 +1,17 @@
#pragma once
// This file will be included in "fastfetch.h", do NOT put unnecessary things here
#include "common/option.h"
typedef struct FFBatteryOptions
{
const char* moduleName;
FFModuleArgs moduleArgs;
bool temp;
#ifdef __linux__
FFstrbuf dir;
#endif
} FFBatteryOptions;