Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Meta] IPC mechanism #120

Open
Ristovski opened this issue Aug 30, 2022 · 2 comments
Open

[Meta] IPC mechanism #120

Ristovski opened this issue Aug 30, 2022 · 2 comments

Comments

@Ristovski
Copy link

Ristovski commented Aug 30, 2022

Given the future deprecation notice in:

[ipc]
# The filename to which Vivarium will write workspace state information whenever something changes.
# Programs can watch this file to display the workspace status.
# This is a hacky solution that will be deprecated at some point.
# workspaces-filename = "/path/to/some/file.txt"

what are the (if any) plans/ideas for implementing a better IPC mechanism?

Will Vivarium use a custom Wayland protocol for this ala River?
This for example is how yambar is able to extract the current workspace info from River directly.

@inclement
Copy link
Owner

I don't have any specific plan for this - in its current state it's good enough for my use and it isn't at the top of the priority list for further development.

I deliberately stayed away from a full custom protocol initially because it's a lot of complexity that wasn't core to what Vivarium needed and that I didn't think I could support well. I was thinking that perhaps an adequate intermediate solution would be a proper output data socket but with relatively little configurability compared to a full protocol. I haven't thought it through in much detail though.

@flaviozavan
Copy link
Contributor

this protocol here could be a good candidate to solve this problem, but it is still not ready

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants