Module I3ipc.Reply
Type definitions for the command replies.
type command_outcome={success : bool;error : string option;}type rect={x : int;y : int;width : int;height : int;}type workspace={num : int;name : string;visible : bool;focused : bool;urgent : bool;rect : rect;output : string;}type output={name : string;active : bool;current_workspace : string option;rect : rect;}type node_type=|Root|Output|Con|Floating_con|Workspace|Dockareatype node_border=|Border_normal|Border_none|Border_pixeltype node_layout=|SplitH|SplitV|Stacked|Tabbed|Dockarea|Output|Unknown of stringtype node={nodes : node list;id : int32;name : string option;nodetype : node_type;border : node_border;current_border_width : int;layout : node_layout;percent : float option;rect : rect;window_rect : rect;deco_rect : rect;geometry : rect;window : int option;urgent : bool;focused : bool;}type mark= stringtype bar_id= stringtype colorable_bar_part=
module Bar_parts_map : Stdlib.Map.S with type Bar_parts_map.key = colorable_bar_parttype bar_colors= string Bar_parts_map.ttype bar_config={id : string;mode : string;position : string;status_command : string;font : string;workspace_buttons : bool;binding_mode_indicator : bool;verbose : bool;colors : bar_colors;}type version={major : int;minor : int;patch : int;human_readable : string;loaded_config_file_name : string;}
Pretty-printing
val pp_command_outcome : Stdlib.Format.formatter -> command_outcome -> unitval pp_rect : Stdlib.Format.formatter -> rect -> unitval pp_workspace : Stdlib.Format.formatter -> workspace -> unitval pp_output : Stdlib.Format.formatter -> output -> unitval pp_node_type : Stdlib.Format.formatter -> node_type -> unitval pp_node_border : Stdlib.Format.formatter -> node_border -> unitval pp_node_layout : Stdlib.Format.formatter -> node_layout -> unitval pp_node : Stdlib.Format.formatter -> node -> unitval pp_colorable_bar_part : Stdlib.Format.formatter -> colorable_bar_part -> unitval pp_bar_colors : Stdlib.Format.formatter -> bar_colors -> unitval pp_bar_config : Stdlib.Format.formatter -> bar_config -> unitval pp_version : Stdlib.Format.formatter -> version -> unit