Added custom tooltip with device icon, device name and battery status

This commit is contained in:
Erik Reider
2022-03-19 17:09:55 +01:00
parent 4196e0d5d1
commit 7fac2afb85
6 changed files with 229 additions and 18 deletions

View File

@ -14,7 +14,7 @@ waybar::AModule* waybar::Factory::makeModule(const std::string& name) const {
#endif
#ifdef HAVE_UPOWER
if (ref == "upower") {
return new waybar::modules::UPower(id, config_[name]);
return new waybar::modules::upower::UPower(id, config_[name]);
}
#endif
#ifdef HAVE_SWAY