mirror of
https://github.com/polybar/polybar.git
synced 2024-11-18 13:55:11 -05:00
parent
82d360e634
commit
6fa2d3943c
1 changed files with 4 additions and 4 deletions
|
@ -25,11 +25,11 @@ namespace modules {
|
|||
return CAST_MOD(Impl)->update();
|
||||
};
|
||||
|
||||
try {
|
||||
// warm up module output before entering the loop
|
||||
check();
|
||||
CAST_MOD(Impl)->broadcast();
|
||||
|
||||
try {
|
||||
while (this->running()) {
|
||||
if (check()) {
|
||||
CAST_MOD(Impl)->broadcast();
|
||||
|
|
Loading…
Reference in a new issue