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 | |
parent | config/output: fix typo in merge_id_on_name (diff) | |
download | sway-18ce0eec608d066565dda3a9a6454f67007116e5.tar.gz sway-18ce0eec608d066565dda3a9a6454f67007116e5.tar.zst sway-18ce0eec608d066565dda3a9a6454f67007116e5.zip |
Spawn swaybar as a wayland client
This just makes it so swaybar is handled as a wayland client
Diffstat (limited to 'include')
-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 { | |||
216 | }; | 216 | }; |
217 | 217 | ||
218 | struct bar_config { | 218 | struct bar_config { |
219 | char *swaybar_command; | ||
220 | struct wl_client *client; | ||
221 | struct wl_listener client_destroy; | ||
222 | |||
219 | /** | 223 | /** |
220 | * One of "dock", "hide", "invisible" | 224 | * One of "dock", "hide", "invisible" |
221 | * | 225 | * |
@@ -243,7 +247,6 @@ struct bar_config { | |||
243 | list_t *bindings; | 247 | list_t *bindings; |
244 | char *status_command; | 248 | char *status_command; |
245 | bool pango_markup; | 249 | bool pango_markup; |
246 | char *swaybar_command; | ||
247 | char *font; | 250 | char *font; |
248 | int height; // -1 not defined | 251 | int height; // -1 not defined |
249 | bool workspace_buttons; | 252 | bool workspace_buttons; |
@@ -254,7 +257,6 @@ struct bar_config { | |||
254 | bool binding_mode_indicator; | 257 | bool binding_mode_indicator; |
255 | bool verbose; | 258 | bool verbose; |
256 | struct side_gaps gaps; | 259 | struct side_gaps gaps; |
257 | pid_t pid; | ||
258 | int status_padding; | 260 | int status_padding; |
259 | int status_edge_padding; | 261 | int status_edge_padding; |
260 | struct { | 262 | struct { |