diff --git a/config.h b/config.h index 762e7fb..c659e0c 100644 --- a/config.h +++ b/config.h @@ -1,12 +1,16 @@ #pragma once #include "bar.h" -#include "yml.h" #include "font.h" #include "particle.h" +#include "yml.h" bool conf_verify_bar(const struct yml_node *bar); struct bar *conf_to_bar(const struct yml_node *bar); +/* + * Utility functions, for e.g. modules + */ + struct particle * conf_to_particle( const struct yml_node *node, const struct font *parent_font);