diff options
| author | Federico Angelilli <code@fedang.net> | 2024-09-09 00:54:18 +0200 |
|---|---|---|
| committer | Federico Angelilli <code@fedang.net> | 2024-09-09 00:54:18 +0200 |
| commit | ee3ea3be13744f766af57e4ae4504b5942655184 (patch) | |
| tree | 6aecd9f5a93d4ee492155b89a453d722a61d5d81 /src/config.h | |
| parent | bdfa5a92e2bededb520dad6741e81128c67fb502 (diff) | |
Refactor and simplify config
Diffstat (limited to 'src/config.h')
| -rw-r--r-- | src/config.h | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/src/config.h b/src/config.h index 726006e..a7d196f 100644 --- a/src/config.h +++ b/src/config.h @@ -34,11 +34,8 @@ typedef struct { char *monitor; bool override_redirect; color_t background; - - uint32_t height; - uint32_t width; - uint32_t spacing; - char **children; + unsigned int width; + unsigned int height; } config_t; typedef struct { @@ -50,7 +47,7 @@ void config_init(config_t *config); void config_read(config_t *config, FILE *file); -void config_resolve(config_t *config, block_t *block); +block_t *config_resolve(config_t *config); void config_free(config_t *config); |
