mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-05 04:06:08 -05:00
26 lines
413 B
C
26 lines
413 B
C
#pragma once
|
|
|
|
#include <stdint.h>
|
|
#include <stdbool.h>
|
|
|
|
#include "terminal.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;
|
|
|
|
struct {
|
|
enum cursor_style style;
|
|
} cursor;
|
|
};
|
|
|
|
bool config_load(struct config *conf);
|
|
void config_free(struct config conf);
|