[polybar] Add throttle settings
Should be easier on my battery
This commit is contained in:
parent
9228ff539b
commit
0a6d43755b
1 changed files with 11 additions and 0 deletions
|
@ -466,6 +466,17 @@ interval = 600
|
||||||
label-font = 6
|
label-font = 6
|
||||||
|
|
||||||
[settings]
|
[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
|
; Reload upon receiving XCB_RANDR_SCREEN_CHANGE_NOTIFY events
|
||||||
screenchange-reload = false
|
screenchange-reload = false
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue