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 | f7b605664109f81bbe2933907664c7a8ed83f413 (patch) | |
tree | a298aae5b9eb4622923798345986e2a73e0b7977 /src/c_init.go | |
parent | ok (diff) | |
download | hardflip-f7b605664109f81bbe2933907664c7a8ed83f413.tar.gz hardflip-f7b605664109f81bbe2933907664c7a8ed83f413.tar.bz2 hardflip-f7b605664109f81bbe2933907664c7a8ed83f413.tar.xz hardflip-f7b605664109f81bbe2933907664c7a8ed83f413.tar.zst hardflip-f7b605664109f81bbe2933907664c7a8ed83f413.zip |
coool
Diffstat (limited to '')
-rw-r--r-- | src/c_init.go | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/c_init.go b/src/c_init.go index 3faca8e..0bc37be 100644 --- a/src/c_init.go +++ b/src/c_init.go @@ -68,6 +68,18 @@ type HardOpts struct { file string } +type HardStyle struct { + DefColor string `yaml:"default"` + DirColor string `yaml:"dir_color"` + BoxColor string `yaml:"box_color"` + HeadColor string `yaml:"head_color"` + ErrColor string `yaml:"error_color"` + TitleColor string `yaml:"title_color"` + BotColor string `yaml:"bottom_color"` + YankColor string `yaml:"yank_color"` + MoveColor string `yaml:"move_color"` +} + // this function recurses into the specified root directory in order to load // every yaml file into memory func c_recurse_data_dir(dir, root string, opts HardOpts, @@ -171,3 +183,7 @@ func c_get_options(dir string, load_err *[]error) HardOpts { return opts } +func c_get_styles(dir string, load_err *[]error) HardStyle { + // TODO: here + return DEFAULT_STYLE +} |