I've been working on a wf-msg
tool, inspired by swaymsg
#1477
tombh
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Here's the repo: https://github.com/tombh/wf-msg
It's basically just convenience Bash functions wrapping @damianatorrpm's D-Bus plugin. It's unfortunate that that repo isn't being updated, in fact you have to use @soppelmann's fork to get D-Bus working with current Wayfire.
The D-Bus plugin is actually quite inefficient in one important aspect: it doesn't have a "tree" command like
swaymsg
'sget_tree
. We can still get all that info, we just have to make multiple calls. So some things can be notably slow.I know that an IPC socket is being discussed, see #49. There are even some early commits in that direction, but they're not intended for end users.
So I don't know how far I'll go with this, but hopefully we can play with it and see what kind of direction we'd want a D-Bus or IPC tool to go in.
Beta Was this translation helpful? Give feedback.
All reactions