Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature request]: Undo window management and tiling actions #2538

Open
eamcnn1 opened this issue Feb 12, 2025 · 1 comment
Open

[Feature request]: Undo window management and tiling actions #2538

eamcnn1 opened this issue Feb 12, 2025 · 1 comment

Comments

@eamcnn1
Copy link

eamcnn1 commented Feb 12, 2025

This is just an idea I've been kicking around, and I have not the biggest coding knowledge, but is there a way to log any changes with the pre-change state so that you can undo/reverse any actions like closing a window, moving a space in a set order which could become a little annoying to fix, setting a window fullscreen etc.
Idea:

$ yabai -m action --reverse any
$ yabai -m action --reverse openclose
$ yabai -m action --reverse tiling
$ yabai -m action --reverse full

Tysm and I love yabai :)

@eamcnn1 eamcnn1 changed the title [IDEA]: Undo window management and tiling actions [Feature request]: Undo window management and tiling actions Feb 12, 2025
@Bellavene
Copy link

Bellavene commented Feb 13, 2025

Unfortunately, yabai doesn't cache layout arrangement states. So this is impossible as for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants