From 06f539823b8fef7c482ccea9c1786b1ba3b07c87 Mon Sep 17 00:00:00 2001 From: Doloro1978 Date: Sun, 28 Dec 2025 15:10:35 +0000 Subject: [PATCH] qol: charging indicater should be more acurate --- modules/quickshell/quickshell/bar/widgets/Battery.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/quickshell/quickshell/bar/widgets/Battery.qml b/modules/quickshell/quickshell/bar/widgets/Battery.qml index 2b0b33e..133e676 100644 --- a/modules/quickshell/quickshell/bar/widgets/Battery.qml +++ b/modules/quickshell/quickshell/bar/widgets/Battery.qml @@ -44,7 +44,7 @@ Rectangle { Text { id: icon anchors.centerIn: parent - text: root.getBatteryState(UPower.displayDevice.percentage * 100, (UPower.displayDevice.changeRate)) + text: root.getBatteryState(UPower.displayDevice.percentage * 100, ((UPower.displayDevice.timeToFull > 0))) color: root.getBatteryColor(UPower.displayDevice.percentage * 100) font.weight: Font.DemiBold font.pointSize: 24 / 1.4