aboutsummaryrefslogtreecommitdiff
path: root/src/config.h
diff options
context:
space:
mode:
authorFederico Angelilli <code@fedang.net>2024-09-18 14:49:59 +0200
committerFederico Angelilli <code@fedang.net>2024-09-18 14:49:59 +0200
commit0eceb95c0a4b517d7eb537a464089f011e3804e2 (patch)
tree54e2646d5a7c43b3fec074ebe98d4a33aefde025 /src/config.h
parentbc70dead7fb518f073fecb21a04fa374e9ad6dd0 (diff)
Add effect parsingeffect-conf
Diffstat (limited to 'src/config.h')
-rw-r--r--src/config.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/config.h b/src/config.h
index a7d196f..4580031 100644
--- a/src/config.h
+++ b/src/config.h
@@ -8,6 +8,8 @@
typedef struct block block_t;
+typedef struct effect effect_t;
+
typedef enum {
CONFIG_STRING,
CONFIG_INT,
@@ -30,6 +32,8 @@ typedef struct {
typedef struct {
size_t n_blocks;
block_t *blocks;
+ size_t n_effects;
+ effect_t *effects;
char *font;
char *monitor;
bool override_redirect;
@@ -40,7 +44,7 @@ typedef struct {
typedef struct {
const char *label;
- int value;
+ intptr_t value;
} config_enum_t;
void config_init(config_t *config);