mirror of
https://github.com/swaywm/sway.git
synced 2025-10-28 05:40:16 -04:00
swaybar: implement tray config
This commit is contained in:
parent
74655f835a
commit
6b03c68775
18 changed files with 271 additions and 55 deletions
|
|
@ -3,6 +3,7 @@
|
|||
#include <stdbool.h>
|
||||
#include <stdint.h>
|
||||
#include <wayland-client.h>
|
||||
#include "../include/config.h"
|
||||
#include "list.h"
|
||||
#include "util.h"
|
||||
|
||||
|
|
@ -64,6 +65,13 @@ struct swaybar_config {
|
|||
struct box_colors urgent_workspace;
|
||||
struct box_colors binding_mode;
|
||||
} colors;
|
||||
|
||||
#if HAVE_TRAY
|
||||
char *icon_theme;
|
||||
char *tray_bindings[10]; // mouse buttons 0-9
|
||||
list_t *tray_outputs; // char *
|
||||
int tray_padding;
|
||||
#endif
|
||||
};
|
||||
|
||||
struct swaybar_config *init_config(void);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue