mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-03-15 05:33:58 -04:00
conf: config now provides the colors (though still only hardcoded colors)
This commit is contained in:
parent
29d855d7c6
commit
4109d97263
5 changed files with 95 additions and 59 deletions
8
config.h
8
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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue