diff options
author | Mikkel Oscar Lyderik <mikkeloscar@gmail.com> | 2015-12-16 12:58:45 +0100 |
---|---|---|
committer | Mikkel Oscar Lyderik <mikkeloscar@gmail.com> | 2015-12-16 13:01:11 +0100 |
commit | 2fd7dd64ec8449f3a0e2ce9d445273b6f78a9dea (patch) | |
tree | 587a3da93a034f194355cba7b68ae7acd87ed9f4 /sway/config.c | |
parent | 1825cf32bf45f32b5291ed42606d6911b10f72cc (diff) |
Implement bar option: separator_symbol
Diffstat (limited to 'sway/config.c')
-rw-r--r-- | sway/config.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sway/config.c b/sway/config.c index e86bdab5..1473d130 100644 --- a/sway/config.c +++ b/sway/config.c @@ -43,6 +43,7 @@ static void free_bar(struct bar_config *bar) { free(bar->hidden_state); free(bar->status_command); free(bar->font); + free(bar->separator_symbol); int i; for (i = 0; i < bar->bindings->length; ++i) { free_sway_mouse_binding(bar->bindings->items[i]); @@ -570,6 +571,7 @@ struct bar_config *default_bar_config(void) { bar->font = strdup("monospace 10"); bar->height = -1; bar->workspace_buttons = true; + bar->separator_symbol = NULL; bar->strip_workspace_numbers = false; bar->binding_mode_indicator = true; bar->tray_padding = 2; |