master ohmu/fastfetch-openbsd / src / common / genconfig.h
ohmu  ·  2026-10-15
 1#pragma once
 2
 3#include "common/ffdata.h"
 4
 5// Runs the interactive config generation CUI.
 6//
 7// On success (the user saved the config), it sets `data->structure` to the user chosen
 8// module structure and `instance.config.logo.type` to the user chosen logo type, creates
 9// the result document and returns true. The caller is expected to call `writeConfigFile`.
10// Returns false if the user quits without saving.
11bool ffGenConfigInteractive(FFdata* data);