#pragma once
#include "defs.h"
int parse_config(Config *cfg);
/* run "<script_path> menu" and apply whatever popup/popup_item/popup_info/
* popup_image/popup_set lines it prints to m, exactly as sxbarc's own directives are
* applied (minus the module-name field, since a script only ever describes
* itself) -- lets a built-in module's script declare its own default popup
* content instead of it being hardcoded in init_modules(). sxbarc can still
* override the result afterwards, same as it could override the old
* compile-time defaults. */
void load_popup_from_script(Module *m, const char *script_path);