ubuntu / ubuntu/Tiling-Assistant
Feature Request: Cycle window to next monitor when re-tiling in same direction (Dynamic mode)
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 1.3k
- Forks
- 78
- PR merge metrics
- No merged PRs in 30d
Description
Summary
When a window is already tiled in a given direction and the user triggers the same tile shortcut again, Tiling Assistant should cycle the window to the equivalent tile position on the next monitor in that direction (if one exists).
Current Behavior
Re-pressing a tile shortcut (e.g., "tile left") when the window is already in that tiled state has no effect.
Expected Behavior
If a window is already tiled left and the user presses the "tile left" shortcut again, the window should move to the right half of the monitor to its left — i.e., the equivalent position on the adjacent monitor in that direction.
Example (two side-by-side monitors):
- Window is on the right monitor, tiled to the left half
- User presses tile-left again
- Window moves to the right monitor → left monitor, landing on the right half (the "left" side relative to the direction of travel)
The same logic applies in all four directions, wrapping the window across monitor boundaries appropriately.
Proposed Implementation
This could be:
- A new "Dynamic Keybinding Behavior" mode, or
- A sub-option within the existing Tiling State mode
Why This Is Useful
In multi-monitor workflows, this eliminates the need to manually drag windows between monitors when reorganizing a layout — the tile shortcuts alone can handle cross-monitor placement.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at the existing tile shortcut handling and compare the Tiling State mode with the proposed Dynamic Keybinding Behavior mode. Trace how the current tiled direction and monitor boundaries are determined. Done means repeated shortcuts move the window to the equivalent tile on the adjacent monitor in all four directions, while preserving current behavior when no monitor exists.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- desktop
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100