How to apply KDE Plasma KWin script change without restarting KWin?

This works:

$ qdbus-qt6 org.kde.KWin /Scripting unloadScript "testscript"
$ qdbus-qt6 org.kde.KWin /Scripting start

so the same @Laurent_Constantin came out with at How to properly reload a kwin script - #2 by Laurent_Constantin

3 Likes