Bugfix: i3bar: Use the correct keys when reading the color config

This commit is contained in:
Michael Stapelberg 2012-01-20 22:03:52 +00:00
parent 31b7ec29fd
commit b5c25761d5
1 changed files with 4 additions and 4 deletions

View File

@ -162,16 +162,16 @@ static int config_string_cb(void *params_, const unsigned char *val, unsigned in
COLOR(statusline, bar_fg);
COLOR(background, bar_bg);
COLOR(focused_workspace_border, focus_ws_border);
COLOR(focused_workspace_background, focus_ws_bg);
COLOR(focused_workspace_bg, focus_ws_bg);
COLOR(focused_workspace_text, focus_ws_fg);
COLOR(active_workspace_border, active_ws_border);
COLOR(active_workspace_background, active_ws_bg);
COLOR(active_workspace_bg, active_ws_bg);
COLOR(active_workspace_text, active_ws_fg);
COLOR(inactive_workspace_border, inactive_ws_border);
COLOR(inactive_workspace_background, inactive_ws_bg);
COLOR(inactive_workspace_bg, inactive_ws_bg);
COLOR(inactive_workspace_text, inactive_ws_fg);
COLOR(urgent_workspace_border, urgent_ws_border);
COLOR(urgent_workspace_background, urgent_ws_bg);
COLOR(urgent_workspace_bg, urgent_ws_bg);
COLOR(urgent_workspace_text, urgent_ws_fg);
printf("got unexpected string %.*s for cur_key = %s\n", len, val, cur_key);