mirror of
https://codeberg.org/dnkl/yambar.git
synced 2025-06-16 00:05:40 +02:00
config: pass a struct with inheritable values
For now, font and foreground color
This commit is contained in:
parent
7776135454
commit
8dc278aaf2
20 changed files with 84 additions and 48 deletions
|
@ -14,7 +14,8 @@ struct exposable;
|
|||
|
||||
struct particle_info {
|
||||
bool (*verify_conf)(keychain_t *chain, const struct yml_node *node);
|
||||
struct particle *(*from_conf)(const struct yml_node *node, struct particle *common);
|
||||
struct particle *(*from_conf)(
|
||||
const struct yml_node *node, struct particle *common);
|
||||
|
||||
#define PARTICLE_COMMON_ATTRS_COUNT 5
|
||||
#define PARTICLE_COMMON_ATTRS \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue