aboutsummaryrefslogtreecommitdiff
path: root/config.c
blob: 698f69161ef3daeff47bff5bb8f927e12ed8f6d2 (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
27
28
29
30
31
32
33
34
35
#include "config.h"

#include <stdlib.h>

config_t config = {
	.fancy_scroll = false,
	.min_width = 500,
	.font_size = 16,
	// colors
	.text_color = {0.85, 0.85, 0.85, 1.0},
	.highlight_color = {0.1, 0.3, 0.7, 1.0},
	.background_color = {0.1, 0.1, 0.1, 1.0},
	.cursor_color = {0.9, 0.9, 0.9, 0.5}
};


char* get_conf_file() {
	// get from xdg config home
	const char* xdg = getenv("XDG_CONFIG_HOME");
	if (xdg && *xdg) {
	}      

	// get from home
    const char* home = getenv("HOME");
    if (home && *home) {
    }
    
    return NULL;
}

void init_conf() {
	/* const char* conf_dir = get_conf_file(); */

	/* free(conf_dir); */
}