Closed jayagami closed 2 years ago
@jayagami this is actually correct as you're using .PhysicalPercentUsed
which is the percentage of physical memory in use and not an indication of CPU load. CPU load is currently not yet exposed.
There are variables available Load1
, Load5
, and Load15
. You can use that to swap in theme JSON file like so:
"template": "\uf85a CPU: {{ round .Load1 .Precision }}% | ",
Themes that are packaged with the oh-my-posh install use the memory percentage as the CPU stat. Anyway in clean-detailed.omp.json
I changed CPU:
to MEM:
moved "trailing_diamond": "<transparent,#516BEB\ue0b2</>",
from MEM:
block to the CPU:
block and deleted the whole MEM:
block.
@gork3n mind doing a PR for this?
Hola amigos una pregunta, que plugin usan para que la terminal se vea con ese estilo?
Hello friends, a question, what plugin do you use to make the terminal look like that?
@Jhonmcr you find yourself in the oh-my-posh repository, so there's your answer 😅
This issue has been automatically locked since there has not been any recent activity (i.e. last half year) after it was closed. It helps our maintainers focus on the active issues. If you have found a problem that seems similar, please open a discussion first, complete the body with all the details necessary to reproduce, and mention this issue as reference.
Code of Conduct
What happened?
A bug happened!
show wrong PhysicalPercentUsed percentage,
seems related to https://github.com/JanDeDobbeleer/oh-my-posh/issues/1786#issue-1144738795
could be a upstream problem.
Theme
clean-detailed, 1_shell
What OS are you seeing the problem on?
Windows
Which shell are you using?
powershell
Log output