Thread overview
swaywm-ipc
Mar 08, 2020
Martin Brezel
Mar 08, 2020
Panke
Mar 09, 2020
Martin Brezel
March 08, 2020
If you are using swaywm (swaywm.org), then it may interest you that i started to implement its IPC interface: https://github.com/mab-on/swaywm-ipc

`swaywmipc.core` is the implementation of https://www.mankier.com/7/sway-ipc
`swaywmipc.client` is a higher-level client, easy to use. (https://github.com/mab-on/swaywm-ipc/blob/master/examples/client/source/app.d)

Have fun!
March 08, 2020
On Sunday, 8 March 2020 at 16:34:24 UTC, Martin Brezel wrote:
> If you are using swaywm (swaywm.org), then it may interest you that i started to implement its IPC interface: https://github.com/mab-on/swaywm-ipc
>
> `swaywmipc.core` is the implementation of https://www.mankier.com/7/sway-ipc
> `swaywmipc.client` is a higher-level client, easy to use. (https://github.com/mab-on/swaywm-ipc/blob/master/examples/client/source/app.d)
>
> Have fun!

Nice to see that. I am a recent sway user myself. What are you using it for?
March 09, 2020
On Sunday, 8 March 2020 at 18:04:36 UTC, Panke wrote:
> What are you using it for?

I plan to use it for creating plugins, which hook into the eventstream to do things like "give the workspace the name of its active window" - actually a plugin for this example exists already as a python script but... my kids did a nap, my wife has no tasks for me, corona is outside and it was a weekend :)