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? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Setup: 2 displays, desktop on display 1 is focused (no windows)
$ yabai -m query --spaces --display 1 | jq 'map(select(.visible == 1))' [ { "id": 6, "index": 1, "display": 1, "windows": [], "type": "bsp", "visible": 1, "focused": 1, "native-fullscreen": 0, "first-window": 0, "last-window": 0 } ] $ yabai -m query --spaces --display 2 | jq 'map(select(.visible == 1))' [ { "id": 1180, "index": 4, "display": 2, "windows": [ 124610, 103637, 103634 ], "type": "bsp", "visible": 1, "focused": 0, "native-fullscreen": 0, "first-window": 103634, "last-window": 124610 } ]
From display 1, focus the first window on display 2 by id
$ yabai -m display --focus 1 && yabai -m query --spaces --display next | jq '.[] | select(.visible == 1)."first-window"' | xargs yabai -m window --focus could not locate the window to act on!
The text was updated successfully, but these errors were encountered:
#133 allow window focus command to work without the existence of a fo…
46a46d7
…cused window
Fixed on master.
Sorry, something went wrong.
No branches or pull requests
Bug report
Setup: 2 displays, desktop on display 1 is focused (no windows)
From display 1, focus the first window on display 2 by id
The text was updated successfully, but these errors were encountered: