bcc61e5147
As well as adding the hidden_state property to the bar config struct, this commit handles barconfig_update events when the mode or hidden_state changes, and uses a new function determine_bar_visibility to hide or show the bar as required, using, respectively, destroy_layer_surface, which is also newly added, and add_layer_surface, which has been changed to allow dynamically adding the surface. |
||
---|---|---|
.. | ||
bar.c | ||
config.c | ||
event_loop.c | ||
i3bar.c | ||
ipc.c | ||
main.c | ||
meson.build | ||
render.c | ||
status_line.c |