www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.announce - swaywm-ipc

reply Martin Brezel <martin.brzenska googlemail.com> writes:
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!
Mar 08 2020
parent reply Panke <tobias pankrath.net> writes:
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?
Mar 08 2020
parent Martin Brezel <martin.brzenska googlemail.com> writes:
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 :)
Mar 09 2020