package oxbow

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

Install

dune-project
 Dependency

Authors

Maintainers

Sources

v0.1.0.tar.gz
md5=a637acaa0e19046cd65fff733874eb97
sha512=76230cbecd7510de7a05b5d1f335915ef7b6c4aa557d8dbfd23591606618d2cfa25082d17b93f2f4b53a118d1cbf6a80e4ad51cf0f099b4921fb83d6df0c9801

doc/oxbow.ops/Oxbow_ops/Placement/index.html

Module Oxbow_ops.PlacementSource

zoom ?warp wm seat target promotes the window target to the top of the stack if it is not already the master. If it is the master, promote and swap with the next window. warp overrides the warp on focus configuration. Is Error msg when window has no output, is not tiled, or no other tiled window exists.

Effects: mutates WM state

move_window ?policy window output removes window from its current output, if any, and moves it to output. No-op when window is already owned by output. If policy is not given, window's tags are unchanged.

Effects: mutates WM state

send_window_to_logical wm window dir policy moves window in dir. window will be assigned tags according to policy. Is Error msg when window has no output, or no other output exists.

Effects: mutates WM state

send_window_to_spatial wm window dir policy moves the window window in dir. window will be assigned tags according to policy. Is Error msg when window has no output, or no output exists in dir.

Effects: mutates WM state

Sourceval send_window_to_name : Oxbow_state.Wm.t -> Oxbow_state.Window.t -> string -> Oxbow_core.Tag.Policy.t -> (Yojson.Safe.t option, string) result

send_window_to_name wm window name policy moves the window window to the output matching name. window will be assigned tags according to policy. Is Error msg when window has no output, or no output named name exists.

Effects: mutates WM state

send_to_logical wm seat target dir policy ~follow sends the target windows to the output in logical direction dir, resolving its tags per policy. When follow is true focus follows the moved window. Is Error msg when any target window has no output, or no other output exists.

Effects: mutates WM state

send_to_spatial wm seat target dir policy ~follow sends the target windows to the output in spatial direction dir, resolving its tags per policy. When follow is true focus follows the moved window. Is Error msg when any target window has no output, or no output exists in dir.

Effects: mutates WM state

Sourceval send_to_name : Oxbow_state.Wm.t -> Oxbow_state.Seat.t -> Oxbow_core.Target.Window.Any.t -> string -> Oxbow_core.Tag.Policy.t -> follow:bool -> (Yojson.Safe.t option, string) result

send_to_name wm seat target name policy ~follow sends the target windows to the output named name, resolving its tags per policy. When follow is true focus follows the moved window. Is Error msg when any target window has no output, or no output named name exists.

Effects: mutates WM state

toggle_floating wm seat target toggles the target windows between tiled and floating. Is Error msg when a target window has no output, or when window is fullscreen, maximized, or fixed.

Effects: mutates WM state

maximize wm window ends any seat operation and maximizes window.

Effects: mutates WM state

Sourceval unmaximize : Oxbow_state.Window.t -> unit

unmaximize window restores window from its maximized state.

Effects: mutates WM state

fullscreen wm output window cb makes window fullscreen on output, or on its own output when output is None, moving it between outputs when needed. Calls cb with Exit_fullscreen for each fullscreen window visible on the target output.

Effects: mutates WM state

Sourceval exit_fullscreen : Oxbow_state.Window.t -> unit

exit_fullscreen window restores window from its fullscreen state. No-op when window is not fullscreen.

Effects: mutates WM state

close wm seat target requests close on the target windows.

move_to ~x ~y window moves window to the extents x and y. Is Error msg when the window is fullscreen.

Effects: mutates WM state

move_to ~x ~y wm seat target moves the target windows to the extents x and y. Is Error msg when the any target window is fullscreen.

Effects: mutates WM state

move_spatial wm seat target dir by moves the target windows in dir by by. Is Error msg when the any target window is fullscreen.

Effects: mutates WM state

Sourceval resize_window_to : width:Oxbow_core.Extent.t -> height:Oxbow_core.Extent.t -> Oxbow_state.Window.t -> (Yojson.Safe.t option, string) result

resize_window_to ~width ~height window resizes window to the extents width and height. Is Error msg when the window is fullscreen.

Effects: mutates WM state

resize_to ~width ~height wm seat target resizes the target windows to the extents width and height. Is Error msg when any target window is fullscreen.

Effects: mutates WM state

resize_spatial wm seat target dir by resizes the target windows in dir by by. Is Error msg when any target window is fullscreen.

Effects: mutates WM state

Sourceval swap_outputs : Oxbow_state.Wm.t -> Oxbow_state.Seat.t -> target:Oxbow_ipc.Command.Output.Swap.Target.t -> policy:Oxbow_core.Tag.Policy.t -> follow:bool -> [< `Tags | `All | `Visible ] -> (Yojson.Safe.t option, string) result

swap_outputs wm seat ~target ~policy ~follow scope exchanges the windows of two outputs, in both directions. A Pair target names the two outputs: without names, the two connected outputs swap; with one name, seat's output swaps with the named output; with two names, the named pair swaps. A Ring target swaps the focused output with the next connected ring member, or the previous member when rev is set. Each window crosses with policy, like a send. When follow is true, focus moves to the window that arrived at the head of the focus order of the second output, and the view switches to its tags. When no window arrived, focus moves to the second output. scope controls which windows are swapped. scope is one of `Tags | `All | `Visible.

Effects: mutates WM state

set_sticky wm seat target scope sets the sticky scope of the target windows. Is Error msg when no windows match target.

Effects: mutates WM state

toggle_sticky wm seat target toggle sets the target windows to toggle when it is Off, and Off otherwise. Is Error msg when no windows match target.

Effects: mutates WM state