mirror of
https://github.com/polybar/polybar.git
synced 2026-03-14 12:15:23 +00:00
fix(ipc): Clear output until initial hook finishes
Before, it just showed '%output%' Fixes #3131
This commit is contained in:
committed by
Patrick Ziegler
parent
baed54bc76
commit
4d1758457b
@ -79,6 +79,8 @@ namespace modules {
|
||||
this->module::start();
|
||||
m_mainthread = thread([&] {
|
||||
m_log.trace("%s: Thread id = %i", this->name(), concurrency_util::thread_id(this_thread::get_id()));
|
||||
// Initial update to start with an empty output until the initial hook finishes
|
||||
update_output();
|
||||
update();
|
||||
broadcast();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user