diff options
Diffstat (limited to 'include/sway/config.h')
-rw-r--r-- | include/sway/config.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/include/sway/config.h b/include/sway/config.h index 96fe899b..978606a6 100644 --- a/include/sway/config.h +++ b/include/sway/config.h @@ -260,7 +260,7 @@ struct bar_config { #if HAVE_TRAY char *icon_theme; - const char *tray_bindings[10]; // mouse buttons 0-9 + struct wl_list tray_bindings; // struct tray_binding::link list_t *tray_outputs; // char * int tray_padding; #endif @@ -272,6 +272,14 @@ struct bar_binding { char *command; }; +#if HAVE_TRAY +struct tray_binding { + uint32_t button; + const char *command; + struct wl_list link; // struct tray_binding::link +}; +#endif + struct border_colors { float border[4]; float background[4]; |