polybar-dwm/include/components
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
..
bar.hpp New Tag Parser (#2303) 2020-12-17 20:37:28 +01:00
builder.hpp New Tag Parser (#2303) 2020-12-17 20:37:28 +01:00
command_line.hpp feat(command_line): Properly handle positional args 2017-01-13 04:47:25 +01:00
config_parser.hpp config: Better error messages when opening files 2020-11-26 21:06:35 +01:00
config.hpp Print error message for invalid color strings 2020-11-27 22:08:03 +01:00
controller.hpp feat: Module Visibility (#2320) 2020-12-27 16:05:26 +01:00
ipc.hpp ipc: Remove unused global setting 2019-11-01 11:12:40 +01:00
logger.hpp fix(logger): Wrong conversion function called 2020-12-12 01:43:12 +01:00
renderer.hpp Move apply_alpha functionality into rgba 2020-11-27 22:08:03 +01:00
screen.hpp fix(monitor): Reload when any monitor changes 2020-04-21 23:59:01 +02:00
taskqueue.hpp refactor(modules): Move setup to constructor 2016-12-21 08:00:09 +01:00
types.hpp New Tag Parser (#2303) 2020-12-17 20:37:28 +01:00