We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
select the app*
The text was updated successfully, but these errors were encountered:
I think I solved this. Either way works for me now.
# create desktop, move window and follow focus - uses jq for parsing json (brew install jq) # fix for above solution, to follow window and focus window # https://github.com/koekeishiya/yabai/issues/160 shift + cmd - n : yabai -m space --create \ && wid="$(yabai -m query --windows --window | jq -r '.id')" \ && sidx="$(yabai -m query --spaces --display | jq -r 'map(select(."native-fullscreen" == 0))[-1].index')" \ && yabai -m window "${wid}" --space "${sidx}" \ && yabai -m window --focus "${wid}" # create desktop and follow focus - uses jq for parsing json (brew install jq) cmd + alt - n : yabai -m space --create \ && wid="$(yabai -m query --windows --window | jq -r '.id')" \ && sidx="$(yabai -m query --spaces --display | jq -r 'map(select(."native-fullscreen" == 0))[-1].index')" \ && yabai -m window "${wid}" --space "${sidx}" # cycle through spaces # https://github.com/koekeishiya/yabai/issues/303 alt - c : yabai -m space --focus "$(yabai -m query --spaces --display \ | jq 'reverse | nth(index(map(select(.focused == 1))) - 1).index')" # cycle backwards alt - z : yabai -m space --focus "$(yabai -m query --spaces --display \ | jq 'nth(index(map(select(.focused == 1))) - 1).index')"
Sorry, something went wrong.
doesn't work anymore because of a change in the JSON that yabai -m query --spaces --display returns.
yabai -m query --spaces --display
updated commands:
# create desktop, move window and follow focus - uses jq for parsing json (brew install jq) shift + cmd - n : yabai -m space --create \ && wid="$(yabai -m query --windows --window | jq -r '.id')" \ && sidx="$(yabai -m query --spaces --display | jq -r 'map(select(."is-native-fullscreen" == false))[-1].index')" \ && yabai -m window "${wid}" --space "${sidx}" \ && yabai -m window --focus "${wid} # create desktop and follow focus - uses jq for parsing json (brew install jq) cmd + alt - n : yabai -m space --create \ && sidx="$(yabai -m query --spaces --display | jq -r 'map(select(."is-native-fullscreen" == false))[-1].index')" \ && yabai -m space --focus "${sidx}"
No branches or pull requests
select the app*
The text was updated successfully, but these errors were encountered: