mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2025-01-29 12:01:07 -08:00
theme(clean-detailed): adjust sysinfo block for correctness
This commit is contained in:
parent
65624d9f35
commit
a84a62d0af
|
@ -33,14 +33,7 @@
|
|||
"foreground": "#ffffff",
|
||||
"leading_diamond": "\ue0b2",
|
||||
"style": "diamond",
|
||||
"template": "\uf85a CPU: {{ round .PhysicalPercentUsed .Precision }}% | ",
|
||||
"type": "sysinfo"
|
||||
},
|
||||
{
|
||||
"background": "#516BEB",
|
||||
"foreground": "#ffffff",
|
||||
"style": "diamond",
|
||||
"template": "MEM: {{ (div ((sub .PhysicalTotalMemory .PhysicalFreeMemory)|float64) 1000000000.0) }}/{{ (div .PhysicalTotalMemory 1000000000.0) }}GB \uf85a ",
|
||||
"template": "\uf85a MEM: {{ round .PhysicalPercentUsed .Precision }}% | {{ (div ((sub .PhysicalTotalMemory .PhysicalFreeMemory)|float64) 1000000000.0) }}/{{ (div .PhysicalTotalMemory 1000000000.0) }}GB \uf85a ",
|
||||
"trailing_diamond": "<transparent,#516BEB>\ue0b2</>",
|
||||
"type": "sysinfo"
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue