all repos — quickshell @ 55bdf2a099300c5210b939123ab13026a4345b9b

A desert-witch desktop shell

0
trickyni trickyniv56@gmail.com
Tue, 28 Oct 2025 11:04:55 +0200
commit

55bdf2a099300c5210b939123ab13026a4345b9b

parent

727ccf344295a4d24ca5be0c5197a9a2ff39193d

1 files changed, 2 insertions(+), 13 deletions(-)

jump to
M bar/modules/Battery.qmlbar/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