feat: disable reloads for installed shell

This commit is contained in:
2 * r + 2 * t 2026-03-28 22:22:22 +11:00
parent c64119a22b
commit e32e1fd81c
2 changed files with 9 additions and 1 deletions

View file

@ -63,5 +63,11 @@ if("shell" IN_LIST ENABLE_MODULES)
foreach(dir assets components config modules services utils) foreach(dir assets components config modules services utils)
install(DIRECTORY ${dir} DESTINATION "${INSTALL_QSCONFDIR}") install(DIRECTORY ${dir} DESTINATION "${INSTALL_QSCONFDIR}")
endforeach() endforeach()
install(FILES shell.qml LICENSE DESTINATION "${INSTALL_QSCONFDIR}")
file(READ shell.qml SHELL_QML)
string(REPLACE "settings.watchFiles: true" "settings.watchFiles: false" SHELL_QML "${SHELL_QML}")
file(WRITE "${CMAKE_BINARY_DIR}/qml/shell.qml" "${SHELL_QML}")
install(FILES "${CMAKE_BINARY_DIR}/qml/shell.qml" DESTINATION "${INSTALL_QSCONFDIR}")
install(FILES LICENSE DESTINATION "${INSTALL_QSCONFDIR}")
endif() endif()

View file

@ -10,6 +10,8 @@ import "modules/lock"
import Quickshell import Quickshell
ShellRoot { ShellRoot {
settings.watchFiles: true
Background {} Background {}
Drawers {} Drawers {}
AreaPicker {} AreaPicker {}