Cpp changes, minor refactor plus separate signal logic, typo.
Lint & Format (JS/TS) / lint-format (pull_request) Successful in 12s
Python / lint-format (pull_request) Successful in 26s
Python / test (pull_request) Successful in 1m3s
Lint & Format (Rust) / lint-format (pull_request) Successful in 1m9s

- 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:
2026-06-03 00:54:44 +02:00
parent c91b53fbaa
commit 016dcc008f
6 changed files with 67 additions and 26 deletions
+6 -6
View File
@@ -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