aaronjanse / 3mux

Terminal multiplexer inspired by i3
MIT License
1.82k stars 46 forks source link

Add support for IPC #76

Open alexherbo2 opened 4 years ago

aaronjanse commented 4 years ago

As opposed to just domain sockets, for internal communication?

alexherbo2 commented 4 years ago

Currently, there is no way to communicate from the shell to other applications. The use case I have is to communicate between Kakoune and 3mux, because Kakoune has a client-server architecture and does not handle the windowing itself.

It will also make 3mux more expressive. There is commands, which are exposed from a key-binding in the 3mux config, which is nice, but I think the other way around – a key-binding to commands – is more expressive, because composable: you can have a command to send a window to a workspace exposed on a key, and another to switch to a workspace exposed on another key; but what if I want to send a window and switch after on a key. With the other way around, we could have a key to execute both commands.

alexherbo2 commented 3 years ago

Why Kakoune – A better unix citizen

aaronjanse commented 3 years ago

I think this could also make it easier to use 3mux under i3