swaybar: do not create tray if hidden

This commit is contained in:
Ian Fan 2018-12-11 16:27:39 +00:00
parent 2fd41fe9c8
commit f33b5c5223
4 changed files with 6 additions and 2 deletions

View file

@ -69,6 +69,7 @@ struct swaybar_config {
#if HAVE_TRAY
char *icon_theme;
char *tray_bindings[10]; // mouse buttons 0-9
bool tray_hidden;
list_t *tray_outputs; // char *
int tray_padding;
#endif