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. --- swaybar/config.c | 1 + 1 file changed, 1 insertion(+) (limited to 'swaybar/config.c') diff --git a/swaybar/config.c b/swaybar/config.c index 9cafe061..86a76a7f 100644 --- a/swaybar/config.c +++ b/swaybar/config.c @@ -37,6 +37,7 @@ struct swaybar_config *init_config(void) { config->workspace_buttons = true; config->bindings = create_list(); wl_list_init(&config->outputs); + config->status_padding = 1; /* height */ config->height = 0; -- cgit v1.2.3 From ca0a75d5408125c4e2a9394fd1b08b7bbc4ff9c5 Mon Sep 17 00:00:00 2001 From: Brian Ashworth Date: Fri, 11 Jan 2019 00:12:24 -0500 Subject: swaybar: add status_edge_padding command This adds the bar subcommand `status_edge_padding ` to set the padding used when the status line is on the right edge of the bar. --- swaybar/config.c | 1 + 1 file changed, 1 insertion(+) (limited to 'swaybar/config.c') diff --git a/swaybar/config.c b/swaybar/config.c index 86a76a7f..d4cc9b1a 100644 --- a/swaybar/config.c +++ b/swaybar/config.c @@ -38,6 +38,7 @@ struct swaybar_config *init_config(void) { config->bindings = create_list(); wl_list_init(&config->outputs); config->status_padding = 1; + config->status_edge_padding = 3; /* height */ config->height = 0; -- cgit v1.2.3