mirror of
https://github.com/rad4day/Waybar.git
synced 2025-07-14 07:02:30 +02:00
river/mode: new module
This module shows river's current mapping mode (e.g. normal, locked).
This commit is contained in:
@ -47,6 +47,9 @@ waybar::AModule* waybar::Factory::makeModule(const std::string& name) const {
|
||||
#endif
|
||||
#endif
|
||||
#ifdef HAVE_RIVER
|
||||
if (ref == "river/mode") {
|
||||
return new waybar::modules::river::Mode(id, bar_, config_[name]);
|
||||
}
|
||||
if (ref == "river/tags") {
|
||||
return new waybar::modules::river::Tags(id, bar_, config_[name]);
|
||||
}
|
||||
|
Reference in New Issue
Block a user