Battery + BarPill color fixes and cleanup

Battery: prioritize charging > low battery > unplugged with decent level
BarPill: prioritize hover state, then custom color, then
fallback/default.
This commit is contained in:
ItsLemmy
2025-11-23 17:47:20 -05:00
parent 9c01319261
commit e6c9a828af
5 changed files with 43 additions and 40 deletions
+2 -2
View File
@@ -20,8 +20,8 @@ Item {
property bool oppositeDirection: false
property bool hovered: false
property bool rotateText: false
property color customBackgroundColor: Qt.rgba(0, 0, 0, 0)
property color customTextIconColor: Qt.rgba(0, 0, 0, 0)
property color customBackgroundColor: Color.transparent
property color customTextIconColor: Color.transparent
readonly property string barPosition: Settings.data.bar.position
readonly property bool isVerticalBar: barPosition === "left" || barPosition === "right"