domferr / domferr/tilingshell

New Functionnality - Idea

Open
#393 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
2k
Forks
116
PR merge metrics
No merged PRs in 30d

Description

Hello :),

I enjoy using your extension so far but I think it might be greater with a few new intelligent features.

**Context**
I created predefined layouts for up to four windows. For example:

- Two windows: each takes half of the screen.

- Three windows: two smaller ones on the left, and one larger window taking half of the screen on the right.

- Four windows: each takes a quarter of the screen.
- (see image 1)

**Idea 1: Intelligent tiling preview**
What I’d really like to see is an intelligent tiling process. When the user opens multiple windows, the system could automatically suggest a corresponding layout based on the number of windows:

- 1 window → nothing happens.

- n windows (n > 1) but no layout defined for this number → nothing happens.

- n windows (n > 1) and a layout exists for n → the extension starts a preview of this layout.

- Pressing a key (e.g. Enter) confirms and applies the layout.

- Pressing another key (e.g. Escape or Space) cancels the preview and restores the previous window positions.

**Idea 2: Window swapping**
Another frustrating limitation is that I can’t simply drag a window on top of another to swap them (see image 2).

My proposal: when dragging one window (**win1**) over another (**win2**), the extension could show an animation preview. For example:

- When **win1** is dragged above **win2**, **win2** animates to show how it would move into **win1**’s position.

- At the same time, **win1** automatically resizes to fit the position left by **win2**.

The user could then:

- Press **Enter** to confirm the swap.

- Press another key (e.g. **Escape**) to cancel.

- Or simply drop **win1** onto **win2** while the animation is active to complete the swap.

Thank you for your consideration and the extension you're providing.

(image 1 : my dispositions)
Image

(image 2 : Not swapping :( )
Image

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.