summaryrefslogtreecommitdiff
path: root/swaybar/config.c
diff options
context:
space:
mode:
authorBrian Ashworth <[email protected]>2019-01-11 00:12:24 -0500
committerBrian Ashworth <[email protected]>2019-01-11 00:12:24 -0500
commitca0a75d5408125c4e2a9394fd1b08b7bbc4ff9c5 (patch)
tree37c5bfa911eebcb21f9712799160d1126363e139 /swaybar/config.c
parentc0f92cb2fb94ac87396da99646f9219e54b36860 (diff)
swaybar: add status_edge_padding command
This adds the bar subcommand `status_edge_padding <padding>` to set the padding used when the status line is on the right edge of the bar.
Diffstat (limited to 'swaybar/config.c')
-rw-r--r--swaybar/config.c1
1 files changed, 1 insertions, 0 deletions
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;