mirror of https://github.com/polybar/polybar.git
parent
82d360e634
commit
6fa2d3943c
|
@ -25,11 +25,11 @@ namespace modules {
|
||||||
return CAST_MOD(Impl)->update();
|
return CAST_MOD(Impl)->update();
|
||||||
};
|
};
|
||||||
|
|
||||||
// warm up module output before entering the loop
|
|
||||||
check();
|
|
||||||
CAST_MOD(Impl)->broadcast();
|
|
||||||
|
|
||||||
try {
|
try {
|
||||||
|
// warm up module output before entering the loop
|
||||||
|
check();
|
||||||
|
CAST_MOD(Impl)->broadcast();
|
||||||
|
|
||||||
while (this->running()) {
|
while (this->running()) {
|
||||||
if (check()) {
|
if (check()) {
|
||||||
CAST_MOD(Impl)->broadcast();
|
CAST_MOD(Impl)->broadcast();
|
||||||
|
|
Loading…
Reference in New Issue