aboutsummaryrefslogtreecommitdiff
path: root/src/config.h
diff options
context:
space:
mode:
authorFederico Angelilli <code@fedang.net>2024-09-09 00:23:15 +0200
committerFederico Angelilli <code@fedang.net>2024-09-09 00:23:15 +0200
commitbdfa5a92e2bededb520dad6741e81128c67fb502 (patch)
tree989e98319e8cd62db890c65680b4eb2635e7d9b5 /src/config.h
parentf1f89a745fb46c4b387f3cb6c094e9dd38edf9f6 (diff)
Parse block list and resolve groups
Diffstat (limited to 'src/config.h')
-rw-r--r--src/config.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/config.h b/src/config.h
index 1e674d9..726006e 100644
--- a/src/config.h
+++ b/src/config.h
@@ -17,6 +17,7 @@ typedef enum {
CONFIG_COLOR,
CONFIG_ENUM,
CONFIG_TIME,
+ CONFIG_LIST,
} config_type_t;
typedef struct {
@@ -31,10 +32,13 @@ typedef struct {
block_t *blocks;
char *font;
char *monitor;
- uint32_t height;
- uint32_t width;
bool override_redirect;
color_t background;
+
+ uint32_t height;
+ uint32_t width;
+ uint32_t spacing;
+ char **children;
} config_t;
typedef struct {