From 4a1e5afd79441bc1bc4468d04892023a5d33d5d7 Mon Sep 17 00:00:00 2001 From: Doloro1978 Date: Wed, 18 Mar 2026 12:09:46 +0000 Subject: [PATCH] meow --- config/modules/quickshell/quickshell/BatteryWidget.qml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/config/modules/quickshell/quickshell/BatteryWidget.qml b/config/modules/quickshell/quickshell/BatteryWidget.qml index 559c0fb..bb575a2 100644 --- a/config/modules/quickshell/quickshell/BatteryWidget.qml +++ b/config/modules/quickshell/quickshell/BatteryWidget.qml @@ -8,6 +8,7 @@ RowLayout { height: 20 anchors.centerIn: root visible: UPower.displayDevice.percentage != 0 + property string charging: (UPower.displayDevice.changeRate > 0) ? "Charging.." : "" Rectangle { implicitHeight: text.height implicitWidth: text.width @@ -18,7 +19,7 @@ RowLayout { id: text property int power: UPower.displayDevice.percentage * 100 anchors.centerIn: parent - text: power + "%" + text: charging + " " + power + "%" color: Colors.textPrimary } }