Files
fastfetch/src/modules/battery/option.h
T
Carter Li cd0109c382 Battery (Linux): remove option --battery-dir
It was added in c5c3cecb93 but there was no comment or issues linked to indicate why it was necessary.

`/sys/class/power_supply` is standardized in <https://www.kernel.org/doc/Documentation/ABI/testing/sysfs-class-power>. I don't I want to support non-standard platform unless proper reason is given
2024-01-04 14:18:33 +08:00

18 lines
314 B
C

#pragma once
// This file will be included in "fastfetch.h", do NOT put unnecessary things here
#include "common/option.h"
typedef struct FFBatteryOptions
{
FFModuleBaseInfo moduleInfo;
FFModuleArgs moduleArgs;
bool temp;
#ifdef _WIN32
bool useSetupApi;
#endif
} FFBatteryOptions;