mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-10-29 16:26:39 +01:00
Modules: add init and destroy option callbacks to module info
This commit is contained in:
@@ -65,6 +65,8 @@ void ffGenerateWMThemeJsonResult(FF_MAYBE_UNUSED FFWMThemeOptions* options, yyjs
|
||||
static FFModuleBaseInfo ffModuleInfo = {
|
||||
.name = FF_WMTHEME_MODULE_NAME,
|
||||
.description = "Print current theme of window manager",
|
||||
.initOptions = (void*) ffInitWMThemeOptions,
|
||||
.destroyOptions = (void*) ffDestroyWMThemeOptions,
|
||||
.parseJsonObject = (void*) ffParseWMThemeJsonObject,
|
||||
.printModule = (void*) ffPrintWMTheme,
|
||||
.generateJsonResult = (void*) ffGenerateWMThemeJsonResult,
|
||||
|
||||
Reference in New Issue
Block a user