Custom modules can control tooltip and CSS class

This commit is contained in:
Robinhuett
2018-10-30 21:28:31 +01:00
parent c3e185546d
commit 341d3300fa
2 changed files with 45 additions and 2 deletions

View File

@ -15,8 +15,13 @@ class Custom : public ALabel {
private:
void delayWorker();
void continuousWorker();
void parseOutput();
const std::string name_;
std::string text_;
std::string tooltip_;
std::string class_;
std::string prevclass_;
waybar::util::SleeperThread thread_;
waybar::util::command::res output_;
};