diff options
Diffstat (limited to 'sway/ipc-server.c')
-rw-r--r-- | sway/ipc-server.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sway/ipc-server.c b/sway/ipc-server.c index ea8e8894..9dd3e1a5 100644 --- a/sway/ipc-server.c +++ b/sway/ipc-server.c | |||
@@ -419,6 +419,9 @@ void ipc_client_handle_command(struct ipc_client *client) { | |||
419 | } | 419 | } |
420 | json_object_object_add(json, "status_command", json_object_new_string(bar->status_command)); | 420 | json_object_object_add(json, "status_command", json_object_new_string(bar->status_command)); |
421 | json_object_object_add(json, "font", json_object_new_string(bar->font)); | 421 | json_object_object_add(json, "font", json_object_new_string(bar->font)); |
422 | if (bar->separator_symbol) { | ||
423 | json_object_object_add(json, "separator_symbol", json_object_new_string(bar->separator_symbol)); | ||
424 | } | ||
422 | json_object_object_add(json, "bar_height", json_object_new_int(bar->height)); | 425 | json_object_object_add(json, "bar_height", json_object_new_int(bar->height)); |
423 | json_object_object_add(json, "workspace_buttons", json_object_new_boolean(bar->workspace_buttons)); | 426 | json_object_object_add(json, "workspace_buttons", json_object_new_boolean(bar->workspace_buttons)); |
424 | json_object_object_add(json, "strip_workspace_numbers", json_object_new_boolean(bar->strip_workspace_numbers)); | 427 | json_object_object_add(json, "strip_workspace_numbers", json_object_new_boolean(bar->strip_workspace_numbers)); |