diff options
author | 2018-12-31 15:43:23 -0500 | |
---|---|---|
committer | 2018-12-31 15:43:23 -0500 | |
commit | 3d7c20f062bebe39199d3872e5b64d5e8d61d100 (patch) | |
tree | 93b8ddb51873cae14db8d5f07db74ca96236f184 /include/swaybar/tray/host.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/host.h')
-rw-r--r-- | include/swaybar/tray/host.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/include/swaybar/tray/host.h b/include/swaybar/tray/host.h new file mode 100644 index 00000000..2d4cf82b --- /dev/null +++ b/include/swaybar/tray/host.h | |||
@@ -0,0 +1,17 @@ | |||
1 | #ifndef _SWAYBAR_TRAY_HOST_H | ||
2 | #define _SWAYBAR_TRAY_HOST_H | ||
3 | |||
4 | #include <stdbool.h> | ||
5 | |||
6 | struct swaybar_tray; | ||
7 | |||
8 | struct swaybar_host { | ||
9 | struct swaybar_tray *tray; | ||
10 | char *service; | ||
11 | char *watcher_interface; | ||
12 | }; | ||
13 | |||
14 | bool init_host(struct swaybar_host *host, char *protocol, struct swaybar_tray *tray); | ||
15 | void finish_host(struct swaybar_host *host); | ||
16 | |||
17 | #endif | ||