polybar-dwm/include/modules
patrick96 8566051336 fix(tray): Allow module to disappear for empty tray
Modules that don't produce any output are hidden by the controller
(don't have margins or separators).
The tray module should also do that for `format = <tray>` when there are
no icons.

This required the visibility handling to be tied to the module
visibility instead of being handled by the renderer.
Otherwise, the renderer would hide the tray (because the %{Pt} tag was
never sent) and the tray would not unhide when new icons appeared; it
can't differentiate between hidden because empty and hidden because the
module is hidden by the user (the latter is the reason the renderer does
hiding at all).

Fixes #3036
2023-11-11 04:01:26 +01:00
..
meta fix(tray): Allow module to disappear for empty tray 2023-11-11 04:01:26 +01:00
alsa.hpp Remove unsupported.hpp (#2956) 2023-05-08 19:36:12 +02:00
backlight.hpp fix(backlight): Poll if necessary 2023-10-21 20:32:11 +02:00
battery.hpp Remove unsupported.hpp (#2956) 2023-05-08 19:36:12 +02:00
bspwm.hpp Remove unsupported.hpp (#2956) 2023-05-08 19:36:12 +02:00
counter.hpp Remove unsupported.hpp (#2956) 2023-05-08 19:36:12 +02:00
cpu.hpp Remove unsupported.hpp (#2956) 2023-05-08 19:36:12 +02:00
date.hpp Remove unsupported.hpp (#2956) 2023-05-08 19:36:12 +02:00
fs.hpp Remove unsupported.hpp (#2956) 2023-05-08 19:36:12 +02:00
github.hpp Remove unsupported.hpp (#2956) 2023-05-08 19:36:12 +02:00
i3.hpp Remove unsupported.hpp (#2956) 2023-05-08 19:36:12 +02:00
ipc.hpp Remove unsupported.hpp (#2956) 2023-05-08 19:36:12 +02:00
memory.hpp Remove unsupported.hpp (#2956) 2023-05-08 19:36:12 +02:00
menu.hpp Remove unsupported.hpp (#2956) 2023-05-08 19:36:12 +02:00
mpd.hpp Remove unsupported.hpp (#2956) 2023-05-08 19:36:12 +02:00
network.hpp Remove unsupported.hpp (#2956) 2023-05-08 19:36:12 +02:00
pulseaudio.hpp Remove unsupported.hpp (#2956) 2023-05-08 19:36:12 +02:00
script.hpp Remove unsupported.hpp (#2956) 2023-05-08 19:36:12 +02:00
temperature.hpp Remove unsupported.hpp (#2956) 2023-05-08 19:36:12 +02:00
text.hpp Remove unsupported.hpp (#2956) 2023-05-08 19:36:12 +02:00
tray.hpp fix(tray): Allow module to disappear for empty tray 2023-11-11 04:01:26 +01:00
xbacklight.hpp Remove unsupported.hpp (#2956) 2023-05-08 19:36:12 +02:00
xkeyboard.hpp Remove unsupported.hpp (#2956) 2023-05-08 19:36:12 +02:00
xwindow.hpp Remove unsupported.hpp (#2956) 2023-05-08 19:36:12 +02:00
xworkspaces.hpp feat(xworkspaces): Add group-by-monitor flag 2023-10-29 16:15:10 +01:00