diff options
| author | Jack Jamison <jackqjamison@gmail.com> | 2025-11-04 17:29:52 -0500 |
|---|---|---|
| committer | Jack Jamison <jackqjamison@gmail.com> | 2025-11-06 19:45:03 -0500 |
| commit | 95fb3cad63941466e913775a3c080b310d45d13a (patch) | |
| tree | 555cbaf4d5fd7454efbe6ab200e268c04b53ed49 /config.h | |
| parent | 38d43004656a2d00960484e5e5a5ece46bde840b (diff) | |
refactor onfig file and delete word backward
Diffstat (limited to 'config.h')
| -rw-r--r-- | config.h | 20 |
1 files changed, 13 insertions, 7 deletions
@@ -8,12 +8,18 @@ typedef struct { float r,g,b,a; } color_t; -static const bool fancy_scroll = false; -static const uint32_t min_width = 500; -static const uint32_t font_size = 16; -static const color_t text_color = {0.85, 0.85, 0.85, 1.0}; -static const color_t highlight_color = {0.1, 0.3, 0.7, 1.0}; -static const color_t background_color = {0.1, 0.1, 0.1, 1.0}; -static const color_t cursor_color = {0.9, 0.9, 0.9, 0.5}; +typedef struct { + bool fancy_scroll; + 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 |
