diff options
author | Tarmack <[email protected]> | 2020-10-03 15:45:26 +0200 |
---|---|---|
committer | Simon Ser <[email protected]> | 2020-10-11 19:12:42 +0200 |
commit | 989123a2a5933367e5c7c39c3793f4814e026bf1 (patch) | |
tree | 8a13986177a3380b3d3c965ceb2526e6ceb9c88d /sway/ipc-json.c | |
parent | 657587964e5d8e444ac64829a0aab309c25ff50f (diff) |
Add support for workspace_min_width bar option.
Diffstat (limited to 'sway/ipc-json.c')
-rw-r--r-- | sway/ipc-json.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sway/ipc-json.c b/sway/ipc-json.c index 9330de09..fceee84d 100644 --- a/sway/ipc-json.c +++ b/sway/ipc-json.c @@ -1102,6 +1102,8 @@ json_object *ipc_json_describe_bar_config(struct bar_config *bar) { json_object_new_boolean(bar->strip_workspace_numbers)); json_object_object_add(json, "strip_workspace_name", json_object_new_boolean(bar->strip_workspace_name)); + json_object_object_add(json, "workspace_min_width", + json_object_new_int(bar->workspace_min_width)); json_object_object_add(json, "binding_mode_indicator", json_object_new_boolean(bar->binding_mode_indicator)); json_object_object_add(json, "verbose", |