mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2025-12-05 21:15:38 -05:00
meta: add disable hot reload option
This commit is contained in:
@@ -11,6 +11,11 @@ ShellRoot {
|
||||
id: entrypoint
|
||||
|
||||
readonly property bool runGreeter: Quickshell.env("DMS_RUN_GREETER") === "1" || Quickshell.env("DMS_RUN_GREETER") === "true"
|
||||
readonly property bool disableHotReload: Quickshell.env("DMS_DISABLE_HOT_RELOAD") === "1" || Quickshell.env("DMS_DISABLE_HOT_RELOAD") === "true"
|
||||
|
||||
Component.onCompleted: {
|
||||
Quickshell.watchFiles = !disableHotReload;
|
||||
}
|
||||
|
||||
Loader {
|
||||
id: dmsShellLoader
|
||||
|
||||
Reference in New Issue
Block a user