aboutsummaryrefslogtreecommitdiff
path: root/config.h
blob: 85ce15c184a80b5d33f0bce65c28da1c50a1caa6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#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);