From 18ce0eec608d066565dda3a9a6454f67007116e5 Mon Sep 17 00:00:00 2001 From: Brian Ashworth Date: Sat, 11 May 2019 23:14:01 -0400 Subject: Spawn swaybar as a wayland client This just makes it so swaybar is handled as a wayland client --- include/sway/config.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'include/sway') 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 { -- cgit v1.2.3