nikitabobko / AeroSpace

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

Selecting app without switching to that workspace #299

Closed caseycronyn closed 1 week ago

caseycronyn commented 2 weeks ago

Hello Nikita,

I was wondering is it possible/ what's the best way to select an app without switching to the workspace that app is open in?

For instance if safari is open on workspace 1 and I am on workspace 2, how would I open a new safari window on workspace 2? At the moment what I'm doing is opening on workspace 1, then moving the window to workspace 2, then switching to workspace 2.

Many thanks, Casey

grapexy commented 1 week ago

I believe I have a similar issue.

I have keepassxc always on ws9, and my browser in ws1, when browser asks keepassxc for credentials, keepassxc opens a dialog in ws1 to either allow or deny the request. Clicking anywhere in that dialog (including the buttons) actually sends me to ws9, instead of registering the button click, then I have to move back to ws1 to click again and only then the button click is registed.

nikitabobko commented 1 week ago

Will be covered by #186 & #278

list-windows --app-bundle-id com.apple.Safari --format %{window-id} | xargs move-node-to-workspace focused --act-on-window-id