i3ipc
A pure OCaml implementation of the i3 IPC protocol
1024" x-on:close-sidebar="sidebar=window.innerWidth > 1024 && true">
Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
type workspace = {
num : int; |
name : string; |
visible : bool; |
focused : bool; |
urgent : bool; |
rect : rect; |
output : string; |
}
type 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 colorable_bar_part =
module Bar_parts_map : Map.S with type key = colorable_bar_part
type bar_colors = string Bar_parts_map.t
type 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; |
}
Pretty-printing
val pp_command_outcome : Format.formatter -> command_outcome -> unit
val pp_rect : Format.formatter -> rect -> unit
val pp_workspace : Format.formatter -> workspace -> unit
val pp_output : Format.formatter -> output -> unit
val pp_node_type : Format.formatter -> node_type -> unit
val pp_node_border : Format.formatter -> node_border -> unit
val pp_node_layout : Format.formatter -> node_layout -> unit
val pp_node : Format.formatter -> node -> unit
val pp_colorable_bar_part : Format.formatter -> colorable_bar_part -> unit
val pp_bar_colors : Format.formatter -> bar_colors -> unit
val pp_bar_config : Format.formatter -> bar_config -> unit
val pp_version : Format.formatter -> version -> unit