$ qdbus-qt6 org.kde.KWin /Scripting unloadScript "<script-id>"
$ qdbus-qt6 org.kde.KWin /Scripting start
where <script-id>
is the name of the plugin directory (and the value of Id
field from the metadata.json
file of the plugin).
See How to apply KDE Plasma KWin script change without restarting KWin?