SUMMARY I would like to control my KWin script via Plasma Applet. To do this, I need an IPC between the Plasma Applet and the KWin Script. One of the ways I think this could be possible is via global functions in the scripting API: 1. Register and emit a dbus signal, so that external programs could react to it 2. Call a DBus method (already implemented) 3, Register a method, that could be called by an external program
Something like i3 IPC in Kwin would be great. The protocol is very simple, uses existing standard (json), it is ideal to talk from other programs to the window manager. Another way is to use the Kwin scripting api with a module that talks to another program.