mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-11-18 14:48:34 +01:00
Eight arms' worth of the router as functions of komorebi_core::command: cycle_move_container_to_workspace (the move and the send arm, by follow), cycle_focus_monitor, cycle_move_container_to_monitor (move and send), focus_monitor_workspace_number and move_container_to_monitor_workspace_number (move and send). They need five more operations of the window manager, in a second trait MonitorCommandHost: CommandHost (mouse_follows_focus, update_focused_workspace, direction_from_monitor_idx, move_container_to_monitor, focused_workspace_idx), so the daemons that implement only the first trait still compile. The text is the KDE text, which Windows and macOS have byte for byte. tests/commands.rs mirrors the e2e checks of commands.py: cycle-move-to-workspace and cycle-send-to-workspace, cycle-monitor (the wrap), cycle-move-to-monitor and cycle-send-to-monitor, focus-monitor-workspace, move-to-monitor-workspace and send-to-monitor-workspace. Verified: cargo test -p komorebi-core --features schemars (native): the commands test file 14 passed, 0 failed (the rest of the crate unchanged). Not run: the daemons (nothing calls the functions yet).