aboutsummaryrefslogtreecommitdiff
path: root/sway
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2019-01-13 20:36:08 -0500
committerGitHub <noreply@github.com>2019-01-13 20:36:08 -0500
commitfc93cd20dc108544c7cc8fced7aebed58c58a770 (patch)
tree87eb259f5f02c6bcf5240bf677d9569ee9e72518 /sway
parent4eb0767414fe404adf1c0b0be7c719f5ac115684 (diff)
parent124085eba96362403a757061032659c0a06aa22e (diff)
downloadsway-fc93cd20dc108544c7cc8fced7aebed58c58a770.tar.xz
Merge pull request #3397 from RedSoxFan/fix-swaybar-height
swaybar: obey height if given
Diffstat (limited to 'sway')
-rw-r--r--sway/config/bar.c2
-rw-r--r--sway/sway-bar.5.scd2
2 files changed, 2 insertions, 2 deletions
diff --git a/sway/config/bar.c b/sway/config/bar.c
index 101562d1..701bf051 100644
--- a/sway/config/bar.c
+++ b/sway/config/bar.c
@@ -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;
diff --git a/sway/sway-bar.5.scd b/sway/sway-bar.5.scd
index b345b392..e1a4a937 100644
--- a/sway/sway-bar.5.scd
+++ b/sway/sway-bar.5.scd
@@ -69,7 +69,7 @@ Sway allows configuring swaybar in the sway configuration file.
use.
*height* <height>
- Sets the height of the bar. Default height will match the font size.
+ Sets the height of the bar. Default height (0) will match the font size.
*bindsym* [--release] button<n> <command>
Executes _command_ when mouse button _n_ has been pressed (or if _released_