mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-11-06 21:24:43 +01:00
Modules: add init and destroy option callbacks to module info
This commit is contained in:
@@ -122,6 +122,8 @@ void ffGenerateWMJsonResult(FF_MAYBE_UNUSED FFWMOptions* options, yyjson_mut_doc
|
||||
static FFModuleBaseInfo ffModuleInfo = {
|
||||
.name = FF_WM_MODULE_NAME,
|
||||
.description = "Print window manager name and version",
|
||||
.initOptions = (void*) ffInitWMOptions,
|
||||
.destroyOptions = (void*) ffDestroyWMOptions,
|
||||
.parseJsonObject = (void*) ffParseWMJsonObject,
|
||||
.printModule = (void*) ffPrintWM,
|
||||
.generateJsonResult = (void*) ffGenerateWMJsonResult,
|
||||
|
||||
Reference in New Issue
Block a user