mirror of
https://github.com/swaywm/sway.git
synced 2025-11-26 06:59:59 -05:00
swaybar: add status_padding command
Adds the bar subcommand `status_padding <padding>` which allows setting the padding used for swaybar. If `status_padding` is set to `0`, blocks will be able to take up the full height of the bar.
This commit is contained in:
parent
33d9de88ef
commit
c0f92cb2fb
12 changed files with 46 additions and 6 deletions
|
|
@ -106,6 +106,7 @@ struct bar_config *default_bar_config(void) {
|
|||
bar->verbose = false;
|
||||
bar->pid = 0;
|
||||
bar->modifier = get_modifier_mask_by_name("Mod4");
|
||||
bar->status_padding = 1;
|
||||
if (!(bar->mode = strdup("dock"))) {
|
||||
goto cleanup;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue