mirror of
https://github.com/tomasriveral/nixos.git
synced 2026-10-11 17:16:15 +02:00
forgot some color code for qml
This commit is contained in:
1 parent
7e1fddf239
commit
9401f13348
4 files changed
+89
-64
No files matched your search
@@ -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.isLaptop // hardcoded because this doesnt work 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