swaybar: add StatusNotifierWatcher to tray

This commit is contained in:
Ian Fan 2018-12-05 17:28:14 +00:00
parent ef555012fa
commit 02df3f67aa
5 changed files with 242 additions and 0 deletions

View file

@ -12,12 +12,16 @@
struct swaybar;
struct swaybar_output;
struct swaybar_watcher;
struct swaybar_tray {
struct swaybar *bar;
int fd;
sd_bus *bus;
struct swaybar_watcher *watcher_xdg;
struct swaybar_watcher *watcher_kde;
};
struct swaybar_tray *create_tray(struct swaybar *bar);