battery style changes
This commit is contained in:
parent
734c41f6f2
commit
b4e7d9c42a
@ -34,11 +34,13 @@ Rectangle {
|
|||||||
}
|
}
|
||||||
Text {
|
Text {
|
||||||
id: botText
|
id: botText
|
||||||
font.weight: 900
|
property var timeToEmpty: UPower.displayDevice.timeToEmpty / 60 / 60
|
||||||
|
font.weight: 600
|
||||||
font.family: Settings.font
|
font.family: Settings.font
|
||||||
font.pixelSize: Settings.fontSize
|
font.pixelSize: Settings.fontSize - 2
|
||||||
|
opacity: 0.7
|
||||||
color: Colors.foreground
|
color: Colors.foreground
|
||||||
text: UPower.displayDevice.nativePath
|
text: timeToEmpty.toFixed(1) + "h left"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user