1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-01-25 14:02:53 -05:00

Alter loading behavior

This commit is contained in:
bbedward
2025-10-03 10:08:05 -04:00
parent af622bc7e7
commit 740b2f206c
4 changed files with 18 additions and 7 deletions

View File

@@ -1,10 +1,8 @@
//@ pragma Env QSG_RENDER_LOOP=threaded
//@ pragma UseQApplication
import QtQuick
import Quickshell
ShellRoot {
id: root
id: entrypoint
readonly property bool runGreeter: Quickshell.env("DMS_RUN_GREETER") === "1" || Quickshell.env("DMS_RUN_GREETER") === "true"
@@ -12,13 +10,13 @@ ShellRoot {
id: dmsShellLoader
asynchronous: false
sourceComponent: DMSShell{}
active: !root.runGreeter
active: !entrypoint.runGreeter
}
Loader {
id: dmsGreeterLoader
asynchronous: false
sourceComponent: DMSGreeter{}
active: root.runGreeter
active: entrypoint.runGreeter
}
}