A pure OCaml implementation of the i3 IPC protocol.
This library allows you to communicate with a running instance of i3, run commands, query information about the state of the WM, and subscribe to events.
opam install i3ipcAs an example, examples/i3_msg.ml is a 60 lines reimplementation of i3-msg using this library.
Run make examples to build the examples; they will appear in _build/default/examples/.