From b4e7d9c42a66a4d478bafc091a77cc76d92bf784 Mon Sep 17 00:00:00 2001 From: lucy Date: Wed, 31 Dec 2025 11:15:59 +0100 Subject: [PATCH] battery style changes --- modules/bar/Battery.qml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/modules/bar/Battery.qml b/modules/bar/Battery.qml index 953918c..c5d8680 100644 --- a/modules/bar/Battery.qml +++ b/modules/bar/Battery.qml @@ -34,11 +34,13 @@ Rectangle { } Text { id: botText - font.weight: 900 + property var timeToEmpty: UPower.displayDevice.timeToEmpty / 60 / 60 + font.weight: 600 font.family: Settings.font - font.pixelSize: Settings.fontSize + font.pixelSize: Settings.fontSize - 2 + opacity: 0.7 color: Colors.foreground - text: UPower.displayDevice.nativePath + text: timeToEmpty.toFixed(1) + "h left" } } }