From bd87e7a14fefdc09d031b6b972d9b30c869562b8 Mon Sep 17 00:00:00 2001 From: Somoy Subandhu Date: Wed, 29 Nov 2023 12:04:14 +0200 Subject: [PATCH] theme(clean-detailed): adjust memory calculation --- themes/clean-detailed.omp.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/themes/clean-detailed.omp.json b/themes/clean-detailed.omp.json index a6fc2f07..21965e9b 100644 --- a/themes/clean-detailed.omp.json +++ b/themes/clean-detailed.omp.json @@ -33,7 +33,7 @@ "foreground": "#ffffff", "leading_diamond": "\ue0b2", "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": "\ue0b2", "type": "sysinfo" },