foot/config.h

31 lines
503 B
C
Raw Normal View History

#pragma once
#include <stdint.h>
#include <stdbool.h>
#include "terminal.h"
struct config {
2019-07-18 14:29:40 +02:00
char *term;
2019-07-17 09:29:56 +02:00
char *shell;
char *font;
struct {
uint32_t fg;
uint32_t bg;
uint32_t regular[8];
uint32_t bright[8];
} colors;
struct {
enum cursor_style style;
struct {
uint32_t text;
uint32_t cursor;
} color;
} cursor;
};
bool config_load(struct config *conf);
void config_free(struct config conf);