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

@@ -80,9 +80,15 @@ Singleton {
return ToplevelManager.toplevels.values
}
Component.onCompleted: {
detectCompositor()
NiriService.generateNiriLayoutConfig()
Timer {
id: compositorInitTimer
interval: 100
running: true
repeat: false
onTriggered: {
detectCompositor()
Qt.callLater(() => NiriService.generateNiriLayoutConfig())
}
}
function filterCurrentWorkspace(toplevels, screen) {