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. --- sway/config/bar.c | 1 + 1 file changed, 1 insertion(+) (limited to 'sway/config') 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; } -- cgit v1.2.3