package oxbow

  1. Overview
  2. Docs
Dynamic window manager for the river Wayland compositor

Install

dune-project
 Dependency

Authors

Maintainers

Sources

v0.1.1.tar.gz
md5=a182e6d368a65e6752771e41e651713f
sha512=020d2c7f9f4e06966ca56695e24eb0b41dd12500aa65d2cd9b56e03068bbb6ea7770de0a33c04f0d054bd474bee8c2b36bb46af86266c9823490e1bd0810c027

doc/oxbow.ipc/Oxbow_ipc/Client/index.html

Module Oxbow_ipc.ClientSource

Sourcemodule Error : sig ... end
Sourceval send : env:Eio_unix.Stdenv.base -> ?seat:string -> ?socket:string -> Request.Body.t -> (Yojson.Safe.t option, Error.t) result

send ~env ?seat ?socket body sends body as a one-line JSON request over the oxbow socket and awaits the reply; socket overrides the resolved socket path; seat overrides the primary-seat target.

Effects: I/O

Sourceval subscribe : env:Eio_unix.Stdenv.base -> ?socket:string -> ?output:string -> kinds:Record.t list -> (string -> unit) -> (unit, Error.t) result

subscribe ~env ?socket ?output ~kinds f opens a subscribe stream over the oxbow socket and calls f with each event line until either side closes; kinds empty for all kinds, output restricts output-keyed kinds.

Effects: I/O; blocks until the stream ends