aboutsummaryrefslogtreecommitdiffstats
path: root/reload.sh
diff options
context:
space:
mode:
Diffstat (limited to 'reload.sh')
-rwxr-xr-xreload.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/reload.sh b/reload.sh
index 243a132..e856e90 100755
--- a/reload.sh
+++ b/reload.sh
@@ -23,6 +23,12 @@ if [ $# -eq 0 ]; then
set -- "${@%/shell.qml}"
fi
+# Qt 6.8+ runs the QML garbage collector incrementally. After a suspend the
+# desktop shell's collector was seen stuck mid-cycle: every allocation forced a
+# full mark, a 177-line parse took a second, and a core stayed busy. 0 turns
+# incremental collection off; keep it in step with hypr autostart.lua.
+export QV4_GC_TIMELIMIT=0
+
for c in "$@"; do
c=${c%/}
[ -f "$c/shell.qml" ] || { echo "$c: no shell.qml" >&2; continue; }