use urgent_ws color in swaybar if binding_mode is undefined

This commit is contained in:
D.B 2016-11-02 17:09:34 +01:00
parent d3e55f88ec
commit 39ee0ec552
4 changed files with 30 additions and 6 deletions

View file

@ -1147,9 +1147,9 @@ struct bar_config *default_bar_config(void) {
strcpy(bar->colors.urgent_workspace_border, "#2f343aff");
strcpy(bar->colors.urgent_workspace_bg,"#900000ff");
strcpy(bar->colors.urgent_workspace_text, "#ffffffff");
strcpy(bar->colors.binding_mode_border, "#2f343aff");
strcpy(bar->colors.binding_mode_bg,"#900000ff");
strcpy(bar->colors.binding_mode_text, "#ffffffff");
bar->colors.has_binding_mode_border = false;
bar->colors.has_binding_mode_bg = false;
bar->colors.has_binding_mode_text = false;
list_add(config->bars, bar);