mirror of
https://github.com/rad4day/Waybar.git
synced 2025-07-20 01:42:38 +02:00
feat: use interval thread until got inotify event
This commit is contained in:
@@ -24,6 +24,7 @@ class Battery : public ALabel {
|
||||
void worker();
|
||||
|
||||
util::SleeperThread thread_;
|
||||
util::SleeperThread threadTimer_;
|
||||
std::vector<fs::path> batteries_;
|
||||
int fd_;
|
||||
};
|
||||
|
Reference in New Issue
Block a user