diff --git a/sample_config.toml b/sample_config.toml index c4dc2b74..2e8448f9 100644 --- a/sample_config.toml +++ b/sample_config.toml @@ -13,6 +13,7 @@ regex = true [colors] # Based on gruvbox: https://github.com/morhetz/gruvbox table_header_color="#458588" +widget_title_color="#076678" cpu_core_colors=["#cc241d", "#98971a", "#d79921", "#458588", "#b16286", "#689d6a", "#fb4934", "#b8bb26", "#fabd2f", "#83a598"] ram_color="#fb4934" swap_color="#fabd2f" @@ -21,6 +22,6 @@ tx_color="#689d6a" border_color="#ebdbb2" highlighted_border_color="#fe8019" text_color="#ebdbb2" -cursor_color="#8ec07c" -scroll_entry_text_color="#282828" -scroll_entry_bg_color="#458588" \ No newline at end of file +graph_color="#076678" +selected_text_color="#282828" +selected_bg_color="#458588" \ No newline at end of file diff --git a/src/canvas.rs b/src/canvas.rs index 6f4445de..f87e4d1e 100644 --- a/src/canvas.rs +++ b/src/canvas.rs @@ -103,7 +103,7 @@ pub struct DisplayableData { /// Generates random colours. Strategy found from /// https://martin.ankerl.com/2009/12/09/how-to-create-random-colors-programmatically/ -fn gen_n_colours(num_to_gen: i32) -> Vec { +fn gen_n_styles(num_to_gen: i32) -> Vec