From c0f92cb2fb94ac87396da99646f9219e54b36860 Mon Sep 17 00:00:00 2001 From: Brian Ashworth Date: Thu, 10 Jan 2019 23:43:45 -0500 Subject: swaybar: add status_padding command Adds the bar subcommand `status_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. --- sway/config/bar.c | 1 + 1 file changed, 1 insertion(+) (limited to 'sway/config') diff --git a/sway/config/bar.c b/sway/config/bar.c index 670219f1..ebe81cab 100644 --- a/sway/config/bar.c +++ b/sway/config/bar.c @@ -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; } -- cgit v1.2.3