aboutsummaryrefslogtreecommitdiffstats
path: root/swaybar/config.c
diff options
context:
space:
mode:
authorLibravatar Brian Ashworth <bosrsf04@gmail.com>2019-01-11 00:12:24 -0500
committerLibravatar Brian Ashworth <bosrsf04@gmail.com>2019-01-11 00:12:24 -0500
commitca0a75d5408125c4e2a9394fd1b08b7bbc4ff9c5 (patch)
tree37c5bfa911eebcb21f9712799160d1126363e139 /swaybar/config.c
parentswaybar: add status_padding command (diff)
downloadsway-ca0a75d5408125c4e2a9394fd1b08b7bbc4ff9c5.tar.gz
sway-ca0a75d5408125c4e2a9394fd1b08b7bbc4ff9c5.tar.zst
sway-ca0a75d5408125c4e2a9394fd1b08b7bbc4ff9c5.zip
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) {
38 config->bindings = create_list(); 38 config->bindings = create_list();
39 wl_list_init(&config->outputs); 39 wl_list_init(&config->outputs);
40 config->status_padding = 1; 40 config->status_padding = 1;
41 config->status_edge_padding = 3;
41 42
42 /* height */ 43 /* height */
43 config->height = 0; 44 config->height = 0;