A pure OCaml implementation of the i3 IPC protocol
  • OCaml 98.9%
  • Makefile 1%
Find a file
Armaël Guéneau 6198815d1e spring cleanup: remove .merlin
(not necessary anymore when using any recent dune version)
2022-08-25 07:45:10 +02:00
examples New commands and signals (#6) 2019-06-01 14:17:06 +02:00
src Support for Sway node_border csd (#13) 2021-03-30 10:52:18 +02:00
.gitignore Switch to dune 2019-05-23 20:11:36 +02:00
.ocamlinit New commands and signals (#6) 2019-06-01 14:17:06 +02:00
dune-project Allow compiling with dune >= 1.0 2019-09-13 22:53:00 +02:00
i3ipc.opam Update the .opam file (thanks Kate for the fixes!) 2021-05-16 14:01:47 +02:00
LICENSE LICENSE & opam file 2017-01-24 00:01:39 +01:00
Makefile Update README & examples 2019-05-23 21:35:41 +02:00
README.md README: add link to 0.4 docs 2021-05-15 18:49:02 +02:00

I3ipc

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.

Install

opam install i3ipc

Documentation

  • See the API documentation, version: dev, 0.4, 0.3, 0.2, 0.1

  • As 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/.