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.
This commit is contained in:
Brian Ashworth 2019-01-11 00:12:24 -05:00
parent c0f92cb2fb
commit ca0a75d540
12 changed files with 44 additions and 4 deletions

View file

@ -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;