mirror of
https://github.com/swaywm/sway.git
synced 2025-11-09 13:29:49 -05:00
swaybar: add StatusNotifierHost to tray
This commit is contained in:
parent
746600e6ed
commit
e6cb55e2f8
5 changed files with 212 additions and 0 deletions
17
include/swaybar/tray/host.h
Normal file
17
include/swaybar/tray/host.h
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
#ifndef _SWAYBAR_TRAY_HOST_H
|
||||
#define _SWAYBAR_TRAY_HOST_H
|
||||
|
||||
#include <stdbool.h>
|
||||
|
||||
struct swaybar_tray;
|
||||
|
||||
struct swaybar_host {
|
||||
struct swaybar_tray *tray;
|
||||
char *service;
|
||||
char *watcher_interface;
|
||||
};
|
||||
|
||||
bool init_host(struct swaybar_host *host, char *protocol, struct swaybar_tray *tray);
|
||||
void finish_host(struct swaybar_host *host);
|
||||
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue