diff options
author | Drew DeVault <[email protected]> | 2019-01-13 20:34:13 -0500 |
---|---|---|
committer | GitHub <[email protected]> | 2019-01-13 20:34:13 -0500 |
commit | 9ce4d53e789b5a3b3f521585a5a0ff62e341468b (patch) | |
tree | d267455e4f5814b7f8f5eae3f85636c90884bcfd /sway/ipc-json.c | |
parent | 9b5ac0868210dba6d296b10ce429ac6649ff2c0c (diff) | |
parent | ca0a75d5408125c4e2a9394fd1b08b7bbc4ff9c5 (diff) |
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) { } json_object_object_add(json, "bar_height", json_object_new_int(bar->height)); + json_object_object_add(json, "status_padding", + json_object_new_int(bar->status_padding)); + json_object_object_add(json, "status_edge_padding", + json_object_new_int(bar->status_edge_padding)); json_object_object_add(json, "wrap_scroll", json_object_new_boolean(bar->wrap_scroll)); json_object_object_add(json, "workspace_buttons", |