aboutsummaryrefslogtreecommitdiff
path: root/config.h
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2019-07-21 09:06:28 +0000
committerDaniel Eklöf <daniel@ekloef.se>2019-07-21 09:06:28 +0000
commit4109d9726398f59e0a183c4f44adc19b6d7346be (patch)
tree018d1b95dcb83df36bd848fff82c03004d3c38f0 /config.h
parentterm: prepare for configurable colors; add color variables to terminal (diff)
conf: config now provides the colors (though still only hardcoded colors)
Diffstat (limited to 'config.h')
-rw-r--r--config.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/config.h b/config.h
index fdca3c34..0db93269 100644
--- a/config.h
+++ b/config.h
@@ -1,11 +1,19 @@
#pragma once
+#include <stdint.h>
#include <stdbool.h>
struct config {
char *term;
char *shell;
char *font;
+
+ struct {
+ uint32_t fg;
+ uint32_t bg;
+ uint32_t regular[8];
+ uint32_t bright[8];
+ } colors;
};
bool config_load(struct config *conf);