From 755fad6bc3c4200152994950024485468015606e Mon Sep 17 00:00:00 2001 From: Alexis Date: Mon, 24 Dec 2018 08:50:58 +0100 Subject: [PATCH] fix(battery): typo --- src/modules/battery.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/battery.cpp b/src/modules/battery.cpp index 6ccbb042..a6938457 100644 --- a/src/modules/battery.cpp +++ b/src/modules/battery.cpp @@ -33,7 +33,7 @@ void waybar::modules::Battery::worker() { thread_timer_ = [this] { dp.emit(); - thread_.sleep_for(interval_); + thread_timer_.sleep_for(interval_); }; thread_ = [this] { struct inotify_event event = {0};