theme(clean-detailed): adjust sysinfo block for correctness

This commit is contained in:
Christopher Henderson 2023-02-04 09:43:30 -05:00 committed by Jan De Dobbeleer
parent 65624d9f35
commit a84a62d0af

View file

@ -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"
},