0
trickyni trickyniv56@gmail.com
Tue, 28 Oct 2025 11:04:55 +0200
1 files changed,
2 insertions(+),
13 deletions(-)
jump to
M
bar/modules/Battery.qml
→
bar/modules/Battery.qml
@@ -13,10 +13,10 @@ Class.RightRowLayout {
property var lvl: Math.round(modelData.percentage*100) property var charge_state: UPowerDeviceState.toString(modelData.state) property var device_type: UPowerDeviceType.toString(modelData.type) - Class.BottombarText { + Class.TopbarText { id: battery_level_indicator text: lvl+"%" - font.family: font_jetbrains.name + font.family: font_proggy.name color: (charge_state == "Charging") ? Resources.palette.saffron@@ -24,17 +24,6 @@ : (lvl < 20)
? Resources.palette.scarlet : Resources.palette.fg } - // Image { - // // visible: modelData.model == "Jupiter of the Monkey" - // // ? true - // // : false - // source: "../../icons/my-phones.png" - // sourceClipRect: Qt.rect(0, 0, 12, 12) - // sourceSize.width: 12 - // sourceSize.height: 12 - // width: 12 - // height: 12 - // } Class.BottombarIcon { id: battery_device_icon text: modelData.isLaptopBattery