aboutsummaryrefslogtreecommitdiffstats
path: root/sway/ipc-json.c
diff options
context:
space:
mode:
authorLibravatar Drew DeVault <sir@cmpwn.com>2019-01-13 20:34:13 -0500
committerLibravatar GitHub <noreply@github.com>2019-01-13 20:34:13 -0500
commit9ce4d53e789b5a3b3f521585a5a0ff62e341468b (patch)
treed267455e4f5814b7f8f5eae3f85636c90884bcfd /sway/ipc-json.c
parentMerge pull request #3415 from RedSoxFan/swaybar-output-improved (diff)
parentswaybar: add status_edge_padding command (diff)
downloadsway-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/ipc-json.c')
-rw-r--r--sway/ipc-json.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/sway/ipc-json.c b/sway/ipc-json.c
index 53e0e335..09b65e8d 100644
--- a/sway/ipc-json.c
+++ b/sway/ipc-json.c
@@ -660,6 +660,10 @@ json_object *ipc_json_describe_bar_config(struct bar_config *bar) {
660 } 660 }
661 json_object_object_add(json, "bar_height", 661 json_object_object_add(json, "bar_height",
662 json_object_new_int(bar->height)); 662 json_object_new_int(bar->height));
663 json_object_object_add(json, "status_padding",
664 json_object_new_int(bar->status_padding));
665 json_object_object_add(json, "status_edge_padding",
666 json_object_new_int(bar->status_edge_padding));
663 json_object_object_add(json, "wrap_scroll", 667 json_object_object_add(json, "wrap_scroll",
664 json_object_new_boolean(bar->wrap_scroll)); 668 json_object_new_boolean(bar->wrap_scroll));
665 json_object_object_add(json, "workspace_buttons", 669 json_object_object_add(json, "workspace_buttons",