mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2025-12-06 05:25:41 -05:00
25 lines
549 B
QML
25 lines
549 B
QML
//@ pragma Env QSG_RENDER_LOOP=threaded
|
|
//@ pragma UseQApplication
|
|
import QtQuick
|
|
import Quickshell
|
|
|
|
ShellRoot {
|
|
id: root
|
|
|
|
readonly property bool runGreeter: Quickshell.env("DMS_RUN_GREETER") === "1" || Quickshell.env("DMS_RUN_GREETER") === "true"
|
|
|
|
Loader {
|
|
id: dmsShellLoader
|
|
asynchronous: false
|
|
sourceComponent: DMSShell{}
|
|
active: !root.runGreeter
|
|
}
|
|
|
|
Loader {
|
|
id: dmsGreeterLoader
|
|
asynchronous: false
|
|
sourceComponent: DMSGreeter{}
|
|
active: root.runGreeter
|
|
}
|
|
}
|