diff options
author | Joe <rbo@gmx.us> | 2024-05-16 20:20:20 +0200 |
---|---|---|
committer | Joe <rbo@gmx.us> | 2024-05-16 20:20:20 +0200 |
commit | bdf8e0b2e16de39a7fb7f3bf8f51605d542e19c9 (patch) | |
tree | 003492335c1b93c7fae588c75f6117c7840b86fc /src/e_events.go | |
parent | coool (diff) | |
download | hardflip-bdf8e0b2e16de39a7fb7f3bf8f51605d542e19c9.tar.gz hardflip-bdf8e0b2e16de39a7fb7f3bf8f51605d542e19c9.tar.bz2 hardflip-bdf8e0b2e16de39a7fb7f3bf8f51605d542e19c9.tar.xz hardflip-bdf8e0b2e16de39a7fb7f3bf8f51605d542e19c9.tar.zst hardflip-bdf8e0b2e16de39a7fb7f3bf8f51605d542e19c9.zip |
fucking great
Diffstat (limited to '')
-rw-r--r-- | src/e_events.go | 6 |
1 files changed, 6 insertions, 0 deletions
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 |