diff options
| author | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-06-23 18:41:15 +1000 |
|---|---|---|
| committer | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-06-23 18:41:15 +1000 |
| commit | 8a035058468fae2f64c8d812c0eec4d9d20d7f3f (patch) | |
| tree | b6f0fef057f5d6d0b72c6bb199de6c1d988f499b /services/SystemUsage.qml | |
| parent | issues: create templates (diff) | |
| download | caelestia-shell-8a035058468fae2f64c8d812c0eec4d9d20d7f3f.tar.gz caelestia-shell-8a035058468fae2f64c8d812c0eec4d9d20d7f3f.tar.bz2 caelestia-shell-8a035058468fae2f64c8d812c0eec4d9d20d7f3f.zip | |
systemusage: fix gpu temp
Diffstat (limited to '')
| -rw-r--r-- | services/SystemUsage.qml | 2 |
1 files changed, 1 insertions, 1 deletions
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++; |