package oxbow
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
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/src/oxbow.ctl/cmd_window_send.ml.html
Source file cmd_window_send.ml
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40open! Oxbow_core open! Oxbow_ipc let dir_command_term dir = let open Cmdliner.Term.Syntax in let open Direction in let+ policy = Ctl_cli.policy_flag and+ follow = Ctl_cli.follow_flag and+ target = Ctl_cli.target_any_window_term in let (cmd : Command.Window.t) = match dir with | Logical d -> Send_logical { dir = d; policy; follow; target } | Spatial d -> Send_spatial { dir = d; policy; follow; target } in Command.Window cmd ;; let dir_leaf (name, dir) = Ctl_cli.cmd_pair ~name ~doc:(Printf.sprintf "Send to the %s output" name) @@ dir_command_term dir ;; let to_command_term = let open Cmdliner.Term.Syntax in let+ name = Ctl_cli.output_name_arg and+ policy = Ctl_cli.policy_flag and+ follow = Ctl_cli.follow_flag and+ target = Ctl_cli.target_any_window_term in Command.Window (Send_name { name; policy; follow; target }) ;; let to_pair = Ctl_cli.cmd_pair ~name:"to" ~doc:"Send to the named output" to_command_term let name = "send" let doc = "Send the target window(s) to an output by direction or name" let cmd, bind_cmd = Ctl_cli.group_pair ~name ~doc @@ [ to_pair ] @ List.map dir_leaf Ctl_cli.direction_targets ;;
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>