battery-wid
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
pragma Singleton
|
||||
|
||||
import Quickshell
|
||||
import Quickshell.Services.UPower
|
||||
|
||||
|
||||
Singleton {
|
||||
id: root
|
||||
|
||||
readonly property list<UPowerDevice> devices: UPower.devices.values
|
||||
readonly property bool onBattery: UPower.onBattery
|
||||
readonly property UPowerDevice displayDevice: UPower.displayDevice
|
||||
}
|
||||
Reference in New Issue
Block a user