mirror of
https://github.com/swaywm/sway.git
synced 2025-10-29 05:40:18 -04:00
Spawn swaybar as a wayland client
This just makes it so swaybar is handled as a wayland client
This commit is contained in:
parent
8c8e6a6c90
commit
18ce0eec60
2 changed files with 78 additions and 66 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue