polybar/include/modules/meta
Nolan Prochnau 8e46e54cb3
feat: Module Visibility (#2320)
Modules can now also be shown and hidden using ipc commands:

    $ polybar-msg [-p PID] cmd hide.mymodule # Hides module mymodule
    $ polybar-msg [-p PID] cmd show.mymodule # Shows module mymodule
    $ polybar-msg [-p PID] cmd toggle.mymodule # Toggles visibility of mymodule

* Hopefully implement visibility checking

* Implement hide command

* Implement `show` and `toggle` commands

* Refactor and add some logging

* Run style checks and update CHANGELOG

* Get around unused parameter warnings

* Change `set_visible` to return nothing

* Make errors more informative

Co-authored-by: Patrick Ziegler <p.ziegler96@gmail.com>

* Update bar when changing module visibility

- Called in the module to maintain dependence on the signal emitter
- Update CHANGELOG to make changes more verbose

* wrong var

* Update include/modules/unsupported.hpp

Co-authored-by: Patrick Ziegler <p.ziegler96@gmail.com>

Co-authored-by: Patrick Ziegler <p.ziegler96@gmail.com>
2020-12-27 16:05:26 +01:00
..
base.hpp feat: Module Visibility (#2320) 2020-12-27 16:05:26 +01:00
base.inl feat: Module Visibility (#2320) 2020-12-27 16:05:26 +01:00
event_handler.hpp
event_module.hpp
factory.hpp modules: Fix resolving of type of disabled modules 2020-11-26 20:53:53 +01:00
inotify_module.hpp
static_module.hpp fix(xwindow): Lock mutexes on update #416 2017-02-05 13:37:16 +01:00
timer_module.hpp fix(timer_module): Ensure that interval > 0 (#2274) 2020-12-05 22:58:38 +01:00