2019-10-25 11:21:27 +00:00
|
|
|
function(add_kwin_script name)
|
|
|
|
kpackage_install_package(${name} ${name} scripts kwin)
|
|
|
|
|
|
|
|
# Copy the script to the build directory so one can run tests without prior
|
|
|
|
# make install. FIXME: use add_custom_command.
|
|
|
|
file(COPY ${name} DESTINATION ${CMAKE_BINARY_DIR}/bin/kwin/scripts/)
|
|
|
|
endfunction()
|
|
|
|
|
2020-07-09 09:47:08 +00:00
|
|
|
# videowall defines a KCModule service that has to be separately installed for the config dialog to be accessible
|
|
|
|
install(FILES videowall/metadata.desktop DESTINATION ${SERVICES_INSTALL_DIR} RENAME kwin-script-videowall.desktop)
|
2019-10-25 11:21:27 +00:00
|
|
|
add_kwin_script(videowall)
|
|
|
|
add_kwin_script(synchronizeskipswitcher)
|
|
|
|
add_kwin_script(desktopchangeosd)
|
|
|
|
add_kwin_script(minimizeall)
|