diff options
author | Brian Ashworth <bosrsf04@gmail.com> | 2019-01-11 00:12:24 -0500 |
---|---|---|
committer | Brian Ashworth <bosrsf04@gmail.com> | 2019-01-11 00:12:24 -0500 |
commit | ca0a75d5408125c4e2a9394fd1b08b7bbc4ff9c5 (patch) | |
tree | 37c5bfa911eebcb21f9712799160d1126363e139 /sway/config/bar.c | |
parent | c0f92cb2fb94ac87396da99646f9219e54b36860 (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 'sway/config/bar.c')
-rw-r--r-- | sway/config/bar.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sway/config/bar.c b/sway/config/bar.c index ebe81cab..101562d1 100644 --- a/sway/config/bar.c +++ b/sway/config/bar.c @@ -107,6 +107,7 @@ struct bar_config *default_bar_config(void) { bar->pid = 0; bar->modifier = get_modifier_mask_by_name("Mod4"); bar->status_padding = 1; + bar->status_edge_padding = 3; if (!(bar->mode = strdup("dock"))) { goto cleanup; } |