mirror of
https://github.com/swaywm/sway.git
synced 2025-10-29 05:40:18 -04:00
swaybar: do not create tray if hidden
This commit is contained in:
parent
2fd41fe9c8
commit
f33b5c5223
4 changed files with 6 additions and 2 deletions
|
|
@ -371,7 +371,9 @@ bool bar_setup(struct swaybar *bar, const char *socket_path) {
|
|||
assert(pointer->cursor_surface);
|
||||
|
||||
#if HAVE_TRAY
|
||||
bar->tray = create_tray(bar);
|
||||
if (!bar->config->tray_hidden) {
|
||||
bar->tray = create_tray(bar);
|
||||
}
|
||||
#endif
|
||||
|
||||
if (bar->config->workspace_buttons) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue