mirror of
https://github.com/tomasriveral/nixos.git
synced 2026-08-12 10:30:44 +02:00
resolved a probleme between upower and quickshell
This commit is contained in:
@@ -13,7 +13,7 @@ Item {
|
||||
readonly property bool isPluggedIn: isCharging || chargeState == UPowerDeviceState.PendingCharge
|
||||
readonly property real percentage: UPower.displayDevice.percentage
|
||||
readonly property bool isLow: percentage <= 0.20
|
||||
readonly property bool isLaptop: UPowerDevice.isLaptopBattery
|
||||
readonly property bool isLaptop: true // hardcoded because this doesnt work UPowerDevice.isLaptopBattery
|
||||
width: 32
|
||||
height: 32
|
||||
|
||||
|
||||
Reference in New Issue
Block a user