diff options
author | 2019-01-13 20:34:13 -0500 | |
---|---|---|
committer | 2019-01-13 20:34:13 -0500 | |
commit | 9ce4d53e789b5a3b3f521585a5a0ff62e341468b (patch) | |
tree | d267455e4f5814b7f8f5eae3f85636c90884bcfd /sway/config/bar.c | |
parent | Merge pull request #3415 from RedSoxFan/swaybar-output-improved (diff) | |
parent | swaybar: add status_edge_padding command (diff) | |
download | sway-9ce4d53e789b5a3b3f521585a5a0ff62e341468b.tar.gz sway-9ce4d53e789b5a3b3f521585a5a0ff62e341468b.tar.zst sway-9ce4d53e789b5a3b3f521585a5a0ff62e341468b.zip |
Merge pull request #3408 from RedSoxFan/bar-padding
swaybar: adjustable status padding
Diffstat (limited to 'sway/config/bar.c')
-rw-r--r-- | sway/config/bar.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sway/config/bar.c b/sway/config/bar.c index 670219f1..101562d1 100644 --- a/sway/config/bar.c +++ b/sway/config/bar.c | |||
@@ -106,6 +106,8 @@ struct bar_config *default_bar_config(void) { | |||
106 | bar->verbose = false; | 106 | bar->verbose = false; |
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; | ||
110 | bar->status_edge_padding = 3; | ||
109 | if (!(bar->mode = strdup("dock"))) { | 111 | if (!(bar->mode = strdup("dock"))) { |
110 | goto cleanup; | 112 | goto cleanup; |
111 | } | 113 | } |