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

Improve focus-back-and-forth: remember the whole focus history stack #1024

Open
nikitabobko opened this issue Jan 18, 2025 · 0 comments
Open

Comments

@nikitabobko
Copy link
Owner

Excerpt from the docs:

AeroSpace stores only one previously focused window in history, which means that if you close the previous window, focus-back-and-forth has no window to switch focus to. In that case, the command will exit with non-zero exit code.

That’s why it may be preferred to combine focus-back-and-forth with workspace-back-and-forth:

aerospace focus-back-and-forth || aerospace workspace-back-and-forth

This is bad and should be improved. We should store the whole focus history stack. Optionally making it available for users via smth like list-focus-history-stack (also see: #942)

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

1 participant