mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2024-11-09 20:44:03 -08:00
theme(clean-detailed): adjust memory calculation
This commit is contained in:
parent
9737cf7ca3
commit
bd87e7a14f
|
@ -33,7 +33,7 @@
|
||||||
"foreground": "#ffffff",
|
"foreground": "#ffffff",
|
||||||
"leading_diamond": "\ue0b2",
|
"leading_diamond": "\ue0b2",
|
||||||
"style": "diamond",
|
"style": "diamond",
|
||||||
"template": "\ue266 MEM: {{ round .PhysicalPercentUsed .Precision }}% | {{ (div ((sub .PhysicalTotalMemory .PhysicalFreeMemory)|float64) 1000000000.0) }}/{{ (div .PhysicalTotalMemory 1000000000.0) }}GB \ue266 ",
|
"template": "\ue266 MEM: {{ round .PhysicalPercentUsed .Precision }}% | {{ (div ((sub .PhysicalTotalMemory .PhysicalAvailableMemory)|float64) 1073741824.0) }}/{{ (div .PhysicalTotalMemory 1073741824.0) }}GB \ue266 ",
|
||||||
"trailing_diamond": "<transparent,#516BEB>\ue0b2</>",
|
"trailing_diamond": "<transparent,#516BEB>\ue0b2</>",
|
||||||
"type": "sysinfo"
|
"type": "sysinfo"
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue