aboutsummaryrefslogtreecommitdiff
path: root/include/sway/config.h
diff options
context:
space:
mode:
authorBrian Ashworth <bosrsf04@gmail.com>2019-05-11 23:14:01 -0400
committerSimon Ser <contact@emersion.fr>2019-05-12 11:02:42 +0300
commit18ce0eec608d066565dda3a9a6454f67007116e5 (patch)
tree2144ce9469726825392858b054c97ac46fa74e0c /include/sway/config.h
parent8c8e6a6c9089d70c3b970b03c3f783eafd16f825 (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.h6
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 {