mirror of
https://github.com/swaywm/sway.git
synced 2026-03-15 05:34:12 -04:00
Tray: Implement dbusmenu
Co-authored-by: Ian Fan <ianfan0@gmail.com> Co-authored-by: Nathan Schulte <nmschulte@gmail.com> Signed-off-by: Felix Weilbach <felix.weilbach@t-online.de>
This commit is contained in:
parent
f686e9ad59
commit
2fd480ff1b
11 changed files with 1468 additions and 11 deletions
|
|
@ -18,6 +18,7 @@ struct swaybar_pixmap {
|
|||
struct swaybar_sni_slot {
|
||||
struct wl_list link; // swaybar_sni::slots
|
||||
struct swaybar_sni *sni;
|
||||
int menu_id;
|
||||
const char *prop;
|
||||
const char *type;
|
||||
void *dest;
|
||||
|
|
@ -48,6 +49,7 @@ struct swaybar_sni {
|
|||
char *icon_theme_path; // non-standard KDE property
|
||||
|
||||
struct wl_list slots; // swaybar_sni_slot::link
|
||||
char **menu_icon_theme_paths;
|
||||
};
|
||||
|
||||
struct swaybar_sni *create_sni(char *id, struct swaybar_tray *tray);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue