forked from Shinonome/dots-hyprland
overlay: add battery level
This commit is contained in:
@@ -178,7 +178,7 @@ Item { // Bar content region
|
||||
}
|
||||
|
||||
BatteryIndicator {
|
||||
visible: (root.useShortenedForm < 2 && UPower.displayDevice.isLaptopBattery)
|
||||
visible: (root.useShortenedForm < 2 && Battery.available)
|
||||
Layout.alignment: Qt.AlignVCenter
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user