asmvik / asmvik/yabai

Remember the position of window before toggle float

Open
#845 0 comments 9 reactions 0 assignees View on GitHub
Dominant language
C
Stars
29.6k
Forks
750
PR merge metrics
No merged PRs in 30d

Description

I would like to be able to restore the last position of the window before I have toggled float.

If I only have two windows opened and I toggle the one on the left, when I toggle back from float it goes to the right instead of coming back to the left (initial position).

Right now I'm using the following command to toggle float:

```
alt - t : yabai -m window --toggle float;\
yabai -m window --grid 10:10:1:1:8:8
```

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the two-window case with the shown yabai toggle-float command and observe the window's position before and after toggling. The change is done when a window returns to its pre-float position instead of moving to the other side; no source file or test is identified in the issue.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
desktop, operating-systems
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.