1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2025-12-07 22:15:38 -05:00

Implement IdleMonitor to replace swayidle/hypridle functionality

This commit is contained in:
bbedward
2025-09-19 15:59:40 -04:00
parent e6265c2f71
commit 691b6da7a7
10 changed files with 584 additions and 2 deletions

View File

@@ -18,6 +18,14 @@ Item {
getSessionPath.running = true
}
Connections {
target: IdleService
function onLockRequested() {
console.log("Lock: Received lock request from IdleService")
activate()
}
}
Process {
id: getSessionPath
command: ["gdbus", "call", "--system", "--dest", "org.freedesktop.login1", "--object-path", "/org/freedesktop/login1", "--method", "org.freedesktop.login1.Manager.GetSession", sid]