Rework polybar cpu module

This commit is contained in:
Tanguy Herbron 2021-04-26 17:21:28 +02:00
parent a0a3ead4bb
commit 8088b559e7

View File

@ -392,7 +392,7 @@ type = internal/cpu
; Seconds to sleep between updates ; Seconds to sleep between updates
; Default: 1 ; Default: 1
interval = 0.5 interval = 1
; Available tags: ; Available tags:
; <label> (default) ; <label> (default)
@ -401,14 +401,16 @@ interval = 0.5
; <ramp-coreload> ; <ramp-coreload>
;;format = <label> <ramp-coreload> ;;format = <label> <ramp-coreload>
format = <label> format = <label>
format-prefix = format-prefix = " "
format-prefix-foreground = ${color.dblue}
format-background = ${color.black}
; Available tokens: ; Available tokens:
; %percentage% (default) - total cpu load averaged over all cores ; %percentage% (default) - total cpu load averaged over all cores
; %percentage-sum% - Cumulative load on all cores ; %percentage-sum% - Cumulative load on all cores
; %percentage-cores% - load percentage for each core ; %percentage-cores% - load percentage for each core
; %percentage-core[1-9]% - load percentage for specific core ; %percentage-core[1-9]% - load percentage for specific core
label = " %percentage%%" label = "%percentage%% "
; Spacing between individual per-core ramps ; Spacing between individual per-core ramps
;;ramp-coreload-spacing = 1 ;;ramp-coreload-spacing = 1