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

libherbstclient #4

Open
The-Compiler opened this issue Oct 9, 2014 · 3 comments
Open

libherbstclient #4

The-Compiler opened this issue Oct 9, 2014 · 3 comments
Assignees

Comments

@The-Compiler
Copy link
Member

Compile herbstclient as a library and add python bindings.

WIP - not sure what the state here was at all:

Open questions:

  • Should herbstclient-python be distributed with hlwm or as separated project?
  • Should herbstclient (the C one) be linked statically or dynamically with libherbstclient?
@The-Compiler The-Compiler self-assigned this Oct 9, 2014
@The-Compiler The-Compiler mentioned this issue Oct 9, 2014
@peterwu
Copy link

peterwu commented May 12, 2023

Hi @The-Compiler ,

I'm writing up some little utils in C for my hlwm setup and try to avoid making exec() calls to herbstclient if possible. This libherbstclient initiative looks appealing and I am just wondering if there's any progress on this effort, considering this issue has been open for quite a while? Thx!

@The-Compiler
Copy link
Member Author

Nothing other than the links above - I never picked this up again after hlwm switched to C++.

@t-wissmann
Copy link
Member

t-wissmann commented May 13, 2023

@peterwu there is herbstclient --binary-pipe now, which is probably easier to use than any library while still being faster compared to mulitple exec() calls.
The interface is described in the man page:
https://herbstluftwm.org/herbstclient.html

Also, herbstclient itself is still plain C (in fact precisely to make it easier to turn it into a library).

EDIT: and also I should add: there are python bindings now

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

No branches or pull requests

3 participants