mirror of
https://github.com/swaywm/sway.git
synced 2026-03-31 07:11:24 -04:00
swaybar: add StatusNotifierWatcher to tray
This commit is contained in:
parent
ef555012fa
commit
02df3f67aa
5 changed files with 242 additions and 0 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue