aboutsummaryrefslogtreecommitdiff
path: root/sway/ipc-server.c
diff options
context:
space:
mode:
Diffstat (limited to 'sway/ipc-server.c')
-rw-r--r--sway/ipc-server.c3
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) {
}
json_object_object_add(json, "status_command", json_object_new_string(bar->status_command));
json_object_object_add(json, "font", json_object_new_string(bar->font));
+ if (bar->separator_symbol) {
+ json_object_object_add(json, "separator_symbol", json_object_new_string(bar->separator_symbol));
+ }
json_object_object_add(json, "bar_height", json_object_new_int(bar->height));
json_object_object_add(json, "workspace_buttons", json_object_new_boolean(bar->workspace_buttons));
json_object_object_add(json, "strip_workspace_numbers", json_object_new_boolean(bar->strip_workspace_numbers));