aboutsummaryrefslogtreecommitdiff
path: root/sway/ipc-json.c
diff options
context:
space:
mode:
authoremersion <contact@emersion.fr>2018-11-19 17:56:18 +0100
committerGitHub <noreply@github.com>2018-11-19 17:56:18 +0100
commitbf7af9c690de1da94a5fa258747cd983cb61b707 (patch)
tree1b731331f1ea6ebb430a9bf4dbc1db482bc7ff5d /sway/ipc-json.c
parent67d24e8fc54b9e091533500de22f02302a4c79fc (diff)
parent4bd46fb079fb5a32ee6eb2b297de273b261a9c71 (diff)
Merge pull request #3083 from c-edw/feature/StripWorkspaceName
Implement strip_workspace_name.
Diffstat (limited to 'sway/ipc-json.c')
-rw-r--r--sway/ipc-json.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sway/ipc-json.c b/sway/ipc-json.c
index e3450df1..05e453ec 100644
--- a/sway/ipc-json.c
+++ b/sway/ipc-json.c
@@ -581,6 +581,8 @@ json_object *ipc_json_describe_bar_config(struct bar_config *bar) {
json_object_new_boolean(bar->workspace_buttons));
json_object_object_add(json, "strip_workspace_numbers",
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, "binding_mode_indicator",
json_object_new_boolean(bar->binding_mode_indicator));
json_object_object_add(json, "verbose",