mirror of
https://github.com/rad4day/Waybar.git
synced 2025-09-18 00:12:32 +02:00
fix(window): pick only con title
This commit is contained in:
@@ -8,7 +8,7 @@ waybar::modules::Clock::Clock(Json::Value config)
|
||||
thread_.sig_update.connect(sigc::mem_fun(*this, &Clock::update));
|
||||
thread_ = [this, interval] {
|
||||
auto now = waybar::chrono::clock::now();
|
||||
thread_.sig_update.emit();
|
||||
thread_.emit();
|
||||
auto timeout = std::chrono::floor<std::chrono::seconds>(now
|
||||
+ std::chrono::seconds(interval));
|
||||
thread_.sleep_until(timeout);
|
||||
|
Reference in New Issue
Block a user