mirror of
https://github.com/polybar/polybar.git
synced 2024-11-11 13:50:56 -05:00
Add minimum width to CPU percentage
It's quite obscure where to find that you can set a minimum width for tokens, and CPU usage will oscillate between 0-9 and 10+ quite frequently. I think that adding this to the example config will help users to find out that this feature exists, and avoid this annoying default.
This commit is contained in:
parent
5b7d7b8232
commit
705f14c413
1 changed files with 1 additions and 1 deletions
|
@ -193,7 +193,7 @@ interval = 2
|
||||||
format-prefix = " "
|
format-prefix = " "
|
||||||
format-prefix-foreground = ${colors.foreground-alt}
|
format-prefix-foreground = ${colors.foreground-alt}
|
||||||
format-underline = #f90000
|
format-underline = #f90000
|
||||||
label = %percentage%%
|
label = %percentage:2%%
|
||||||
|
|
||||||
[module/memory]
|
[module/memory]
|
||||||
type = internal/memory
|
type = internal/memory
|
||||||
|
|
Loading…
Reference in a new issue