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 | |
parent | swaybar: add status_padding command (diff) | |
download | sway-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 'sway/config')
-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) { | |||
107 | bar->pid = 0; | 107 | bar->pid = 0; |
108 | bar->modifier = get_modifier_mask_by_name("Mod4"); | 108 | bar->modifier = get_modifier_mask_by_name("Mod4"); |
109 | bar->status_padding = 1; | 109 | bar->status_padding = 1; |
110 | bar->status_edge_padding = 3; | ||
110 | if (!(bar->mode = strdup("dock"))) { | 111 | if (!(bar->mode = strdup("dock"))) { |
111 | goto cleanup; | 112 | goto cleanup; |
112 | } | 113 | } |