bar/modules/HeadphonesBattery.qml (view raw)
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
//HeadphonesBattery.qml
import QtQuick
import Quickshell
import QtQuick.Layouts
import Quickshell.Services.UPower
import ".."
import "../classes" as Class
RowLayout {
id: headphones_battery
property var jotm: "/org/freedesktop/UPower/devices/headset_dev_AC_80_0A_2E_C9_07"
spacing: 2
layoutDirection: Qt.RightToLeft
Class.BottombarText {
// text: UPower.devices["jotm"].percentage + "%"
text:"placeholder!"
}
}
|