diff --git a/polybar/config.ini b/polybar/config.ini index 949bbf7..3a1d8cc 100644 --- a/polybar/config.ini +++ b/polybar/config.ini @@ -466,6 +466,17 @@ interval = 600 label-font = 6 [settings] +; The throttle settings lets the eventloop swallow up til X events +; if they happen within Y millisecond after first event was received. +; This is done to prevent flood of update event. +; +; For example if 5 modules emit an update event at the same time, we really +; just care about the last one. But if we wait too long for events to swallow +; the bar would appear sluggish so we continue if timeout +; expires or limit is reached. +throttle-output = 5 +throttle-output-for = 10 + ; Reload upon receiving XCB_RANDR_SCREEN_CHANGE_NOTIFY events screenchange-reload = false