domferr / domferr/tilingshell

[Feature Request] Snap existing windows to new layout on cycle layout

Open
#487 2 comments 0 reactions 0 assignees View on GitHub
enhancement good first issue help wanted
Dominant language
TypeScript
Stars
2k
Forks
116
PR merge metrics
No merged PRs in 30d

Description

When cycling through layouts (via keybinding or the panel menu), the layout changes but existing tiled windows stay in their current positions. I have to manually re-tile each window to fit the new layout.

The solution I'd like

When switching layouts, automatically snap/move currently tiled windows to the corresponding tiles in the new layout. This could work by mapping windows to the "nearest" or "most similar" tile in the new layout.

This should also happen while cycling layouts with the "cycle layouts" keybinding popup. It would be ideal to save the original positions until you stop cycling in case you cancel or return to the previous layout.

This would make layout switching more useful for quickly reorganizing the workspace without manual intervention - similar to how traditional tiling WMs (i3, dwm) handle layout changes.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.