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