feat: disable reloads for installed shell
This commit is contained in:
parent
c64119a22b
commit
e32e1fd81c
2 changed files with 9 additions and 1 deletions
|
|
@ -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()
|
||||||
|
|
|
||||||
|
|
@ -10,6 +10,8 @@ import "modules/lock"
|
||||||
import Quickshell
|
import Quickshell
|
||||||
|
|
||||||
ShellRoot {
|
ShellRoot {
|
||||||
|
settings.watchFiles: true
|
||||||
|
|
||||||
Background {}
|
Background {}
|
||||||
Drawers {}
|
Drawers {}
|
||||||
AreaPicker {}
|
AreaPicker {}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue