swaybar: obey height if given

If there is a bar height given, use that as the height rather than as a
minimum height. This matches i3-gaps behavior.
This commit is contained in:
Brian Ashworth 2019-01-09 20:58:00 -05:00
parent 14cab78612
commit 124085eba9
3 changed files with 15 additions and 9 deletions

View file

@ -96,7 +96,7 @@ struct bar_config *default_bar_config(void) {
bar->pango_markup = false;
bar->swaybar_command = NULL;
bar->font = NULL;
bar->height = -1;
bar->height = 0;
bar->workspace_buttons = true;
bar->wrap_scroll = false;
bar->separator_symbol = NULL;