conf: config now provides the colors (though still only hardcoded colors)

This commit is contained in:
Daniel Eklöf 2019-07-21 11:06:28 +02:00
parent 29d855d7c6
commit 4109d97263
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
5 changed files with 95 additions and 59 deletions

View file

@ -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);