From 53691bc0cfa4336408b8208a9062291c36927ab2 Mon Sep 17 00:00:00 2001 From: Federico Angelilli Date: Wed, 10 Jul 2024 22:18:02 +0200 Subject: Add config loading --- src/config.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 src/config.h (limited to 'src/config.h') diff --git a/src/config.h b/src/config.h new file mode 100644 index 0000000..985ad4c --- /dev/null +++ b/src/config.h @@ -0,0 +1,15 @@ +#ifndef COMET_CONFIG_H +#define COMET_CONFIG_H + +#include + +typedef struct { + char *font; + char *monitor; + int height; + int width; +} config_t; + +void config_init(config_t *config, FILE *file); + +#endif -- cgit v1.2.3