From ce3ec5d37b0f70ff51fbab66eb0c3194640af213 Mon Sep 17 00:00:00 2001 From: Benjamin Palko Date: Fri, 29 Aug 2025 18:49:34 -0400 Subject: [PATCH] stat formatting --- modules/bar/components/Cpu.qml | 2 +- modules/bar/components/Gpu.qml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/bar/components/Cpu.qml b/modules/bar/components/Cpu.qml index 797047c..41085be 100644 --- a/modules/bar/components/Cpu.qml +++ b/modules/bar/components/Cpu.qml @@ -47,7 +47,7 @@ StyledButton { when: root.showTemp PropertyChanges { text { - text: `${(SystemInfo.cpuTemp)}℃` + text: ` ${SystemInfo.cpuTemp.toFixed().toString().padStart(2, "_")}℃` } } } diff --git a/modules/bar/components/Gpu.qml b/modules/bar/components/Gpu.qml index a201562..fa29708 100644 --- a/modules/bar/components/Gpu.qml +++ b/modules/bar/components/Gpu.qml @@ -47,7 +47,7 @@ StyledButton { when: root.showTemp PropertyChanges { text { - text: `${(SystemInfo.gpuTemp)}℃` + text: ` ${SystemInfo.gpuTemp.toFixed().toString().padStart(2, "_")}℃` } } }