master ohmu/fastfetch-openbsd / src / modules / battery / option.h
ohmu  ·  2026-10-15
 1#pragma once
 2
 3#include "common/option.h"
 4#include "common/percent.h"
 5
 6typedef struct FFBatteryOptions {
 7    FFModuleArgs moduleArgs;
 8
 9    bool temp;
10    FFColorRangeConfig tempConfig;
11    FFPercentageModuleConfig percent;
12} FFBatteryOptions;
13
14static_assert(sizeof(FFBatteryOptions) <= FF_OPTION_MAX_SIZE, "FFBatteryOptions size exceeds maximum allowed size");