1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-01-25 22:12: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

@@ -96,8 +96,17 @@ Item {
updateGpuTempConfig()
Qt.callLater(() => Qt.callLater(forceWidgetRefresh))
if (SessionService.nativeInhibitorAvailable) {
createNativeInhibitor()
inhibitorInitTimer.start()
}
Timer {
id: inhibitorInitTimer
interval: 300
repeat: false
onTriggered: {
if (SessionService.nativeInhibitorAvailable) {
createNativeInhibitor()
}
}
}