aboutsummaryrefslogtreecommitdiff
path: root/config.h
blob: eba53aeae7fa910f817db2e9c6444fa9a9830423 (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
#ifndef CONFIG_H_
#define CONFIG_H_

#include <stdint.h>
#include <stdbool.h>

typedef struct {
	float r,g,b,a;
} color_t;

typedef struct {
	bool fancy_scroll;
	bool exit_on_focus_lost;
	uint32_t min_width;
	uint32_t font_size;
	color_t text_color;
	color_t highlight_color;
	color_t background_color;
	color_t cursor_color;
} config_t;

extern config_t config;

void init_conf();

#endif