From 8a035058468fae2f64c8d812c0eec4d9d20d7f3f Mon Sep 17 00:00:00 2001 From: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> Date: Mon, 23 Jun 2025 18:41:15 +1000 Subject: systemusage: fix gpu temp --- services/SystemUsage.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'services/SystemUsage.qml') diff --git a/services/SystemUsage.qml b/services/SystemUsage.qml index d508890..849070a 100644 --- a/services/SystemUsage.qml +++ b/services/SystemUsage.qml @@ -174,7 +174,7 @@ Singleton { else if (line === "") eligible = false; else if (eligible) { - const match = line.match(/^(temp[0-9]+|GPU core|edge)+:\s+\+([0-9]+\.[0-9]+)°C/); + const match = line.match(/^(temp[0-9]+|GPU core|edge)+:\s+\+([0-9]+\.[0-9]+)(°| )C/); if (match) { sum += parseFloat(match[2]); count++; -- cgit v1.2.3-freya