diff options
Diffstat (limited to 'sway/config/bar.c')
-rw-r--r-- | sway/config/bar.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sway/config/bar.c b/sway/config/bar.c index 670219f1..701bf051 100644 --- a/sway/config/bar.c +++ b/sway/config/bar.c | |||
@@ -96,7 +96,7 @@ struct bar_config *default_bar_config(void) { | |||
96 | bar->pango_markup = false; | 96 | bar->pango_markup = false; |
97 | bar->swaybar_command = NULL; | 97 | bar->swaybar_command = NULL; |
98 | bar->font = NULL; | 98 | bar->font = NULL; |
99 | bar->height = -1; | 99 | bar->height = 0; |
100 | bar->workspace_buttons = true; | 100 | bar->workspace_buttons = true; |
101 | bar->wrap_scroll = false; | 101 | bar->wrap_scroll = false; |
102 | bar->separator_symbol = NULL; | 102 | bar->separator_symbol = NULL; |
@@ -106,6 +106,8 @@ struct bar_config *default_bar_config(void) { | |||
106 | bar->verbose = false; | 106 | bar->verbose = false; |
107 | bar->pid = 0; | 107 | bar->pid = 0; |
108 | bar->modifier = get_modifier_mask_by_name("Mod4"); | 108 | bar->modifier = get_modifier_mask_by_name("Mod4"); |
109 | bar->status_padding = 1; | ||
110 | bar->status_edge_padding = 3; | ||
109 | if (!(bar->mode = strdup("dock"))) { | 111 | if (!(bar->mode = strdup("dock"))) { |
110 | goto cleanup; | 112 | goto cleanup; |
111 | } | 113 | } |