polybar-dwm/include
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
..
adapters Merge branch 'hotfix/3.5.1' 2020-12-12 13:28:57 +01:00
cairo feat(conf) Properties for {bottom,top}-{left,right} radius 2020-12-13 17:02:23 +01:00
components feat: Module Visibility (#2320) 2020-12-27 16:05:26 +01:00
drawtypes feat: Warn state for cpu, memory, fs, battery modules (#2199) 2020-12-02 15:55:13 +01:00
events New Tag Parser (#2303) 2020-12-17 20:37:28 +01:00
modules feat: Module Visibility (#2320) 2020-12-27 16:05:26 +01:00
tags New Tag Parser (#2303) 2020-12-17 20:37:28 +01:00
utils New Tag Parser (#2303) 2020-12-17 20:37:28 +01:00
x11 fix(x11): Don't include composite when disabled 2020-12-22 00:37:07 +01:00
CMakeLists.txt refactor(cmake): Allow targets to be enabled individually 2020-12-24 02:20:38 +01:00
common.hpp refactor(build): Remove version number namespace 2019-05-17 16:49:47 +02:00
debug.hpp refactor: Cleanup 2017-01-11 03:07:28 +01:00
errors.hpp Add missing <stdexcept> header 2019-12-25 01:00:29 +01:00
settings.hpp.cmake cmake: Make xrandr and xcomposite required 2020-12-22 00:37:07 +01:00