From bdf8e0b2e16de39a7fb7f3bf8f51605d542e19c9 Mon Sep 17 00:00:00 2001 From: Joe Date: Thu, 16 May 2024 20:20:20 +0200 Subject: fucking great --- src/e_events.go | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/e_events.go') diff --git a/src/e_events.go b/src/e_events.go index 342b871..2889053 100644 --- a/src/e_events.go +++ b/src/e_events.go @@ -183,6 +183,12 @@ func e_reload_data(data *HardData) { } else { data.opts = c_get_options(conf_dir, &data.load_err) } + if conf_dir == "" { + data.colors = DEFAULT_STYLE + } else { + data.colors = c_get_styles(conf_dir, &data.load_err) + } + i_init_styles(&data.ui, data.colors) data.data_dir = c_get_data_dir(&data.ui) if len(data.data_dir) == 0 { return -- cgit v1.2.3