swaybar: implement icon themes and lookup for tray

This commit is contained in:
Ian Fan 2018-12-06 12:51:52 +00:00
parent 02df3f67aa
commit 746600e6ed
5 changed files with 515 additions and 0 deletions

View file

@ -9,6 +9,7 @@
#endif
#include <cairo.h>
#include <stdint.h>
#include "list.h"
struct swaybar;
struct swaybar_output;
@ -22,6 +23,9 @@ struct swaybar_tray {
struct swaybar_watcher *watcher_xdg;
struct swaybar_watcher *watcher_kde;
list_t *basedirs; // char *
list_t *themes; // struct swaybar_theme *
};
struct swaybar_tray *create_tray(struct swaybar *bar);