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 = " "
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