Optionally change i3bar color on focused output, implements #2020
This commit is contained in:
@ -214,6 +214,9 @@ static int config_string_cb(void *params_, const unsigned char *val, size_t _len
|
||||
COLOR(statusline, bar_fg);
|
||||
COLOR(background, bar_bg);
|
||||
COLOR(separator, sep_fg);
|
||||
COLOR(focused_statusline, focus_bar_fg);
|
||||
COLOR(focused_background, focus_bar_bg);
|
||||
COLOR(focused_separator, focus_sep_fg);
|
||||
COLOR(focused_workspace_border, focus_ws_border);
|
||||
COLOR(focused_workspace_bg, focus_ws_bg);
|
||||
COLOR(focused_workspace_text, focus_ws_fg);
|
||||
@ -343,6 +346,9 @@ void free_colors(struct xcb_color_strings_t *colors) {
|
||||
FREE_COLOR(bar_fg);
|
||||
FREE_COLOR(bar_bg);
|
||||
FREE_COLOR(sep_fg);
|
||||
FREE_COLOR(focus_bar_fg);
|
||||
FREE_COLOR(focus_bar_bg);
|
||||
FREE_COLOR(focus_sep_fg);
|
||||
FREE_COLOR(active_ws_fg);
|
||||
FREE_COLOR(active_ws_bg);
|
||||
FREE_COLOR(active_ws_border);
|
||||
|
Reference in New Issue
Block a user