diff options
author | Drew DeVault <[email protected]> | 2015-12-16 07:47:00 -0500 |
---|---|---|
committer | Drew DeVault <[email protected]> | 2015-12-16 07:47:00 -0500 |
commit | 01798a5ae2a8776f5de4b4ab6391bc72f9af014f (patch) | |
tree | f7f5423256e2e7ade009b3a325d2825137d86b79 /sway/ipc-server.c | |
parent | b8f30cbae4bbe476a4c404d333de1a30c1fd7977 (diff) | |
parent | 2fd7dd64ec8449f3a0e2ce9d445273b6f78a9dea (diff) |
Merge pull request #338 from mikkeloscar/bar-separator-symbol
Implement bar option: separator_symbol
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) { } 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)); |