mirror of
https://github.com/swaywm/sway.git
synced 2025-11-23 06:59:48 -05:00
Merge pull request #3397 from RedSoxFan/fix-swaybar-height
swaybar: obey height if given
This commit is contained in:
commit
fc93cd20dc
3 changed files with 15 additions and 9 deletions
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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_
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue