sway-patched-tray-menu-github/swaybar
Ian Fan bcc61e5147 swaybar: handle mode/hidden_state changes
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.
2018-10-14 13:33:12 +01:00
..
bar.c swaybar: handle mode/hidden_state changes 2018-10-14 13:33:12 +01:00
config.c swaybar: handle mode/hidden_state changes 2018-10-14 13:33:12 +01:00
event_loop.c swaybar: fix empty function prototypes 2018-09-18 11:36:33 +01:00
i3bar.c swaybar: add leading comma to click event JSON 2018-10-02 14:05:51 +01:00
ipc.c swaybar: handle mode/hidden_state changes 2018-10-14 13:33:12 +01:00
main.c swaybar: save id upon startup 2018-10-14 13:33:12 +01:00
meson.build Add support for installing binaries with DT_RPATH 2018-09-30 15:37:01 +03:00
render.c swaybar: handle mode/hidden_state changes 2018-10-14 13:33:12 +01:00
status_line.c swaybar: move i3bar definitions into separate file 2018-09-28 13:54:58 +01:00