refactor(modules): Make all modules input handlers
By default they will return false for calls to `input`
This commit is contained in:
parent
457e37faaf
commit
4b5007294b
15 changed files with 41 additions and 28 deletions
include/modules
|
@ -2,7 +2,6 @@
|
|||
|
||||
#include "settings.hpp"
|
||||
#include "modules/meta/event_module.hpp"
|
||||
#include "modules/meta/input_handler.hpp"
|
||||
|
||||
POLYBAR_NS
|
||||
|
||||
|
@ -19,7 +18,7 @@ namespace modules {
|
|||
using mixer_t = shared_ptr<alsa::mixer>;
|
||||
using control_t = shared_ptr<alsa::control>;
|
||||
|
||||
class alsa_module : public event_module<alsa_module>, public input_handler {
|
||||
class alsa_module : public event_module<alsa_module> {
|
||||
public:
|
||||
explicit alsa_module(const bar_settings&, string);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue