diff options
author | Brian Ashworth <bosrsf04@gmail.com> | 2019-05-11 23:14:01 -0400 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2019-05-12 11:02:42 +0300 |
commit | 18ce0eec608d066565dda3a9a6454f67007116e5 (patch) | |
tree | 2144ce9469726825392858b054c97ac46fa74e0c /include/sway/config.h | |
parent | 8c8e6a6c9089d70c3b970b03c3f783eafd16f825 (diff) |
Spawn swaybar as a wayland client
This just makes it so swaybar is handled as a wayland client
Diffstat (limited to 'include/sway/config.h')
-rw-r--r-- | include/sway/config.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/include/sway/config.h b/include/sway/config.h index 01c99cb4..b94a35f3 100644 --- a/include/sway/config.h +++ b/include/sway/config.h @@ -216,6 +216,10 @@ struct workspace_config { }; struct bar_config { + char *swaybar_command; + struct wl_client *client; + struct wl_listener client_destroy; + /** * One of "dock", "hide", "invisible" * @@ -243,7 +247,6 @@ struct bar_config { list_t *bindings; char *status_command; bool pango_markup; - char *swaybar_command; char *font; int height; // -1 not defined bool workspace_buttons; @@ -254,7 +257,6 @@ struct bar_config { bool binding_mode_indicator; bool verbose; struct side_gaps gaps; - pid_t pid; int status_padding; int status_edge_padding; struct { |