mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-10-29 08:13:44 +01:00
Battery (Linux): tidy
This commit is contained in:
@@ -258,7 +258,7 @@ void ffInitBatteryOptions(FFBatteryOptions* options)
|
||||
options->temp = false;
|
||||
|
||||
#ifdef __linux__
|
||||
ffStrbufInit(&options->dir);
|
||||
ffStrbufInitStatic(&options->dir, "/sys/class/power_supply/");
|
||||
#elif defined(_WIN32)
|
||||
options->useSetupApi = false;
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user