mirror of
https://github.com/swaywm/sway.git
synced 2026-04-25 06:46:24 -04:00
Compile without tray support
Signed-off-by: Felix Weilbach <felix.weilbach@t-online.de>
This commit is contained in:
parent
89b97c5346
commit
3d158264e2
13 changed files with 35 additions and 25 deletions
|
|
@ -45,6 +45,9 @@ struct swaybar {
|
|||
struct wl_list unused_outputs; // swaybar_output::link
|
||||
struct wl_list seats; // swaybar_seat::link
|
||||
|
||||
list_t *basedirs; // char *
|
||||
list_t *themes; // struct swaybar_theme *
|
||||
|
||||
struct swaybar_window *focused_window;
|
||||
|
||||
// TOOD: Better name
|
||||
|
|
|
|||
|
|
@ -67,8 +67,8 @@ struct swaybar_config {
|
|||
struct box_colors binding_mode;
|
||||
} colors;
|
||||
|
||||
#if HAVE_TRAY
|
||||
char *icon_theme;
|
||||
#if HAVE_TRAY
|
||||
struct wl_list tray_bindings; // struct tray_binding::link
|
||||
bool tray_hidden;
|
||||
list_t *tray_outputs; // char *
|
||||
|
|
|
|||
|
|
@ -29,9 +29,6 @@ struct swaybar_tray {
|
|||
list_t *items; // struct swaybar_sni *
|
||||
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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue