This commit is contained in:
Nathan Schulte 2026-04-15 08:14:30 +02:00 committed by GitHub
commit 8d7bd5b869
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 171 additions and 12 deletions

View file

@ -15,6 +15,13 @@ struct swaybar_pixmap {
unsigned char pixels[];
};
struct swaybar_sni_tool_tip {
char *icon_name;
list_t *icon_pixmap; // struct swaybar_pixmap *
char *title;
char *description; // can contain HTML subset <b><i><u><a href=""><img src=" alt="">, see https://www.freedesktop.org/wiki/Specifications/StatusNotifierItem/Markup/
};
struct swaybar_sni_slot {
struct wl_list link; // swaybar_sni::slots
struct swaybar_sni *sni;
@ -45,6 +52,10 @@ struct swaybar_sni {
list_t *attention_icon_pixmap; // struct swaybar_pixmap *
bool item_is_menu;
char *menu;
struct swaybar_sni_tool_tip *tool_tip;
char *title;
char *category;
char *id;
char *icon_theme_path; // non-standard KDE property
struct wl_list slots; // swaybar_sni_slot::link