1
0
Fork 0
forked from wry/wry
wry/jay-config/src
Arthur Heymans 5529306c67 feat(config): Add directional output selection via separate direction field
Add support for directional output selection in the move-to-output action
using a separate `direction` field instead of overloading OutputMatch.

API additions:
- Add Workspace::connector() to get the connector showing a workspace
- Add Connector::connector_in_direction() to find outputs directionally

Implementation:
- Move directional finding logic from toml-config to compositor
- Algorithm uses center-to-center distance with axis-aligned preference
- Add GetWorkspaceConnector and GetConnectorInDirection IPC messages

Configuration changes:
- Add optional `direction` field to move-to-output action
- Either `output` or `direction` must be specified (not both)
- Valid directions: "left", "right", "up", "down"

Example usage:
  logo+control+shift+right = { type = "move-to-output", direction = "right" }

Signed-off-by: Arthur Heymans <arthur@aheymans.xyz>
2025-11-28 13:14:25 +01:00
..
_private feat(config): Add directional output selection via separate direction field 2025-11-28 13:14:25 +01:00
input input: add click method and middle button emulation 2025-05-14 14:17:49 +02:00
keyboard config: add Window 2025-05-07 22:41:43 +02:00
_private.rs all: address clippy lints 2025-08-29 11:21:11 +02:00
client.rs config: allow configuring client capabilities 2025-09-18 21:17:34 +02:00
embedded.rs config: add documentation 2022-05-16 18:21:56 +02:00
exec.rs config: allow running commands privileged 2024-04-01 13:16:34 +02:00
input.rs simple-im: add support for unicode input 2025-10-16 16:38:06 +02:00
io.rs all: address clippy lints 2025-05-18 18:10:57 +02:00
lib.rs feat(config): Add directional output selection via separate direction field 2025-11-28 13:14:25 +01:00
logging.rs config: add various new functions 2024-03-16 03:39:50 +01:00
macros.rs config: add Window 2025-05-07 22:41:43 +02:00
status.rs remove trailing commas and whitespace 2025-06-20 11:22:34 +03:00
tasks.rs config: add async tasks and polling infrastructure 2024-03-06 10:53:29 +01:00
theme.rs theme: add title-font and bar-font settings 2025-09-17 18:37:28 +02:00
timer.rs config: accept FnMut instead of Fn for callbacks 2024-03-06 13:44:15 +01:00
video.rs feat(config): Add directional output selection via separate direction field 2025-11-28 13:14:25 +01:00
window.rs config: add content-type window criteria 2025-07-17 11:02:32 +02:00
workspace.rs config: workspace display order 2025-07-26 19:12:00 +02:00
xwayland.rs xwayland: allow windows to scale themselves 2024-10-08 11:14:30 +02:00