package oxbow
Install
dune-project
Dependency
Authors
Maintainers
Sources
md5=a637acaa0e19046cd65fff733874eb97
sha512=76230cbecd7510de7a05b5d1f335915ef7b6c4aa557d8dbfd23591606618d2cfa25082d17b93f2f4b53a118d1cbf6a80e4ad51cf0f099b4921fb83d6df0c9801
doc/oxbow.ops/Oxbow_ops/Column/index.html
Module Oxbow_ops.ColumnSource
val consume :
Oxbow_state.Wm.t ->
Oxbow_state.Seat.t ->
Oxbow_core.Target.Window.One.t ->
(Yojson.Safe.t option, string) resultconsume wm seat target merges the next column into the column of the target window. Is Error msg when the target window no output, or no next column exists.
Effects: mutates WM state
val release :
Oxbow_state.Wm.t ->
Oxbow_state.Seat.t ->
Oxbow_core.Target.Window.One.t ->
(Yojson.Safe.t option, string) resultrelease wm seat target expels the target window into its own column, immediately left of its former column. Is Error msg when the target window has no output, or the target window is alone in its column.
Effects: mutates WM state
detach window expels window into its own column and clears the consume bits, with the same logic as release. No-op when the layout is not scrolling, window is not in the strip, or window is alone in its column.
Effects: mutates WM state
val move :
Oxbow_state.Wm.t ->
Oxbow_state.Seat.t ->
Oxbow_core.Target.Window.One.t ->
Oxbow_core.Direction.Logical.t ->
(Yojson.Safe.t option, string) resultmove wm seat target dir hops the column of the target window over the adjacent column in dir. The hop wraps at the strip ends. Is Error msg when the target window has no output, or no other column exists.
Effects: mutates WM state
val set_width :
Oxbow_state.Wm.t ->
Oxbow_state.Seat.t ->
Oxbow_core.Target.Window.One.t ->
float Oxbow_core.Delta.t ->
global:bool ->
(Yojson.Safe.t option, string) resultset_width wm seat target delta ~global applies delta to the width factor of the column of the target window. Applies to all columns when global is true. A relative delta applies to the current effective factor. Is Error msg when the target window has no output.
Effects: mutates WM state
val default_width :
Oxbow_state.Wm.t ->
Oxbow_state.Seat.t ->
Oxbow_core.Target.Window.One.t ->
(Yojson.Safe.t option, string) resultdefault_width wm seat target clears the width override of the column of the target window. Is Error msg when the target window has no output.
Effects: mutates WM state
val cycle_width :
Oxbow_state.Wm.t ->
Oxbow_state.Seat.t ->
Oxbow_core.Target.Window.One.t ->
(Yojson.Safe.t option, string) resultcycle_width wm seat target moves the width factor of the column of the target window to the next preset, with wrap. Is Error msg when the target window has no output.
Effects: mutates WM state
val zoom :
?warp:bool ->
Oxbow_state.Wm.t ->
Oxbow_state.Seat.t ->
Oxbow_state.Window.t ->
(Yojson.Safe.t option, string) resultzoom ?warp wm seat window promotes window in the scrolling layout. A window in a shared column gets its own column at the front. A solo column moves to the front. A solo front column swaps its window with the head of the next column, and the two consume flags swap with them. The payload warp overrides the warp on focus configuration.
Effects: mutates WM state