Cpp changes, minor refactor plus separate signal logic, typo.
- typo in searchindex - Cpp plugin changed to use enum lidstate - minor refactor - Using signals instead of direct property access. - Using states instead - checking lidclosed instead of preparetosleep
This commit is contained in:
@@ -47,12 +47,12 @@ ShellRoot {
|
||||
Polkit {
|
||||
}
|
||||
|
||||
LazyLoader {
|
||||
activeAsync: Config.lock.lidWatch && Battery.isLaptop
|
||||
component: LidService {
|
||||
lock: lock
|
||||
}
|
||||
}
|
||||
LazyLoader {
|
||||
activeAsync: Config.lock.lidWatch && Battery.isLaptop
|
||||
component: LidService {
|
||||
onRequestLock: lock.requestLock()
|
||||
}
|
||||
}
|
||||
|
||||
LazyLoader {
|
||||
activeAsync: root.laptop
|
||||
|
||||
Reference in New Issue
Block a user