1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-01-27 06:52:50 -05:00

Attempts to improve startup time

This commit is contained in:
bbedward
2025-10-08 10:02:54 -04:00
parent f71dd1ed54
commit 1ed4abd347
8 changed files with 716 additions and 680 deletions

View File

@@ -28,11 +28,17 @@ Singleton {
}
}
Component.onCompleted: {
detectElogindProcess.running = true
detectHibernateProcess.running = true
detectPrimeRunProcess.running = true
console.log("SessionService: Native inhibitor available:", nativeInhibitorAvailable)
Timer {
id: sessionInitTimer
interval: 200
running: true
repeat: false
onTriggered: {
detectElogindProcess.running = true
detectHibernateProcess.running = true
detectPrimeRunProcess.running = true
console.log("SessionService: Native inhibitor available:", nativeInhibitorAvailable)
}
}