refactor: also pass id to custom modules

This commit is contained in:
Alex
2019-05-22 12:20:13 +02:00
parent e999cca7a6
commit 9e1200ae32
3 changed files with 5 additions and 4 deletions

View File

@ -12,7 +12,7 @@ namespace waybar::modules {
class Custom : public ALabel {
public:
Custom(const std::string&, const Json::Value&);
Custom(const std::string&, const std::string&, const Json::Value&);
~Custom();
auto update() -> void;
void refresh(int /*signal*/);