diff options
author | Drew DeVault <sir@cmpwn.com> | 2019-01-13 20:34:13 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-01-13 20:34:13 -0500 |
commit | 9ce4d53e789b5a3b3f521585a5a0ff62e341468b (patch) | |
tree | d267455e4f5814b7f8f5eae3f85636c90884bcfd /sway/ipc-json.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/ipc-json.c')
-rw-r--r-- | sway/ipc-json.c | 4 |
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", |