mirror of
https://github.com/polybar/polybar.git
synced 2024-11-11 13:50:56 -05:00
8e46e54cb3
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> |
||
---|---|---|
.. | ||
bar.hpp | ||
builder.hpp | ||
command_line.hpp | ||
config.hpp | ||
config_parser.hpp | ||
controller.hpp | ||
ipc.hpp | ||
logger.hpp | ||
renderer.hpp | ||
screen.hpp | ||
taskqueue.hpp | ||
types.hpp |