Page
Library
Module
Module type
Parameter
Class
Class type
Source
I3ipc
SourceA pure OCaml implementation of the i3 IPC protocol.
type protocol_error =
| No_IPC_socket
| Bad_magic_string of string
| Unexpected_eof
| Unknown_type of Stdint.Uint32.t
| Bad_reply of string
The different errors that may be raised.
Type describing a connection to the i3 IPC endpoint.
Connect to a running i3 instance.
Close a connection
.
Subscribe to certain events.
Wait for the next event, among those subscribed to.
Run an i3 command. See http://i3wm.org/docs/userguide.html#_list_of_commands for a list of valid commands.
Get the list of current workspaces.
Get the list of current outputs.
Get the layout tree. i3 uses a tree data-structure to represent the layout of windows in a workspace.
Get a list of marks (identifiers of containers).
Get the list of IDs of all configured bars.
Get the configuration of the workspace bar with given ID.
Get the version of i3.