nikitabobko / AeroSpace

AeroSpace is an i3-like tiling window manager for macOS
https://nikitabobko.github.io/AeroSpace/guide
MIT License
7.56k stars 124 forks source link

Add option `--no-restore-windows` to `enable off` #705

Open thalesmello opened 1 week ago

thalesmello commented 1 week ago

The documentation of the enable command says:

Temporarily disable window management

Then it should include a --no-preserve-windows to keep Aerospace from moving windows from hidden workspaces into the visible area.

Context:

I sometimes need to temporarily disable aerospace while dragging a window in order to prevent it from trying to resize window, e.g. moving a tab across windows in chrome.

Currently I use BetterTouchTool to:

on fn keydown: aerospace enable off on fn keyup: aerospace enable on

It mostly works, but it will occasionally move another app's window on top of the Chrome window I'm trying to move my tab to.