mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-06-11 08:57:21 +00:00
Add a KWin JavaScript effect for compositor-side size and translation transitions, and enable it in convergence mode. Keep the tile preview effect as an outline driver so nested preview does not activate a SceneEffect surface.
12 lines
484 B
CMake
12 lines
484 B
CMake
# SPDX-FileCopyrightText: 2026 Marco Allegretti
|
|
# SPDX-License-Identifier: EUPL-1.2
|
|
|
|
function(add_kwin_effect name source)
|
|
kpackage_install_package(${source} ${name} effects kwin)
|
|
|
|
file(COPY ${source}/contents ${source}/metadata.json DESTINATION ${CMAKE_BINARY_DIR}/bin/kwin/effects/${name})
|
|
endfunction()
|
|
|
|
add_kwin_effect(shift-snap-assist shift-snap-assist)
|
|
add_kwin_effect(shift-tile-animations shift-tile-animations)
|
|
add_kwin_effect(shift-tile-preview shift-tile-preview)
|