1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2025-12-08 06:25:37 -05:00

Sync lock/unlock events with loginctl

This commit is contained in:
bbedward
2025-10-13 19:46:18 -04:00
parent 0e3d3d1a40
commit 9b96dae744
2 changed files with 47 additions and 6 deletions

View File

@@ -394,4 +394,12 @@ Singleton {
}
})
}
function lockSession(callback) {
sendRequest("loginctl.lock", null, callback)
}
function unlockSession(callback) {
sendRequest("loginctl.unlock", null, callback)
}
}