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. --- include/sway/config.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/sway/config.h') diff --git a/include/sway/config.h b/include/sway/config.h index 29c21afe..c49d4ccf 100644 --- a/include/sway/config.h +++ b/include/sway/config.h @@ -232,6 +232,7 @@ struct bar_config { bool verbose; struct side_gaps gaps; pid_t pid; + int status_padding; struct { char *background; char *statusline; -- 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. --- include/sway/config.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/sway/config.h') diff --git a/include/sway/config.h b/include/sway/config.h index c49d4ccf..a667984d 100644 --- a/include/sway/config.h +++ b/include/sway/config.h @@ -233,6 +233,7 @@ struct bar_config { struct side_gaps gaps; pid_t pid; int status_padding; + int status_edge_padding; struct { char *background; char *statusline; -- cgit v1.2.3