Skip to content

Move specified running apps to current space in float layout by hotkey #789

Answered by joshtwo
snakewa asked this question in Q&A
Discussion options

You must be logged in to vote
  1. I'd do something like this:
for wid in $(yabai -m query --windows | jq '.[] | select(.app == "Skype") | .id'); do yabai -m window $wid --space mouse; done

To break this down:

  • Get all the window ids of my chosen application with Yabai and jq (in this case, I'm testing on Skype).
  • Move them all to the currently focused workspace (mouse).
  1. You can basically do the same as above, except pick next instead of mouse as the workspace, then set --toggle float on each window.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by koekeishiya
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants