diff options
author | Drew DeVault <sir@cmpwn.com> | 2018-12-31 15:43:23 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-12-31 15:43:23 -0500 |
commit | 3d7c20f062bebe39199d3872e5b64d5e8d61d100 (patch) | |
tree | 93b8ddb51873cae14db8d5f07db74ca96236f184 /include/swaybar/tray/watcher.h | |
parent | Apply implicit fallback seat config (diff) | |
parent | swaybar: use KDE's SNI IconThemePath property (diff) | |
download | sway-3d7c20f062bebe39199d3872e5b64d5e8d61d100.tar.gz sway-3d7c20f062bebe39199d3872e5b64d5e8d61d100.tar.zst sway-3d7c20f062bebe39199d3872e5b64d5e8d61d100.zip |
Merge pull request #3249 from ianyfan/tray
Swaybar tray
Diffstat (limited to 'include/swaybar/tray/watcher.h')
-rw-r--r-- | include/swaybar/tray/watcher.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/include/swaybar/tray/watcher.h b/include/swaybar/tray/watcher.h new file mode 100644 index 00000000..8f276da8 --- /dev/null +++ b/include/swaybar/tray/watcher.h | |||
@@ -0,0 +1,18 @@ | |||
1 | #ifndef _SWAYBAR_TRAY_WATCHER_H | ||
2 | #define _SWAYBAR_TRAY_WATCHER_H | ||
3 | |||
4 | #include "swaybar/tray/tray.h" | ||
5 | #include "list.h" | ||
6 | |||
7 | struct swaybar_watcher { | ||
8 | char *interface; | ||
9 | sd_bus *bus; | ||
10 | list_t *hosts; | ||
11 | list_t *items; | ||
12 | int version; | ||
13 | }; | ||
14 | |||
15 | struct swaybar_watcher *create_watcher(char *protocol, sd_bus *bus); | ||
16 | void destroy_watcher(struct swaybar_watcher *watcher); | ||
17 | |||
18 | #endif | ||