1
0
Fork 0
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:
Roberto Santalla 2017-09-30 20:20:41 +02:00 committed by GitHub
parent 5b7d7b8232
commit 705f14c413

View file

@ -193,7 +193,7 @@ interval = 2
format-prefix = " "
format-prefix-foreground = ${colors.foreground-alt}
format-underline = #f90000
label = %percentage%%
label = %percentage:2%%
[module/memory]
type = internal/memory