Skip to content
New issue

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

[Feature Request] Support multiple arguments per query #2537

Open
Vigilans opened this issue Feb 12, 2025 · 0 comments
Open

[Feature Request] Support multiple arguments per query #2537

Vigilans opened this issue Feb 12, 2025 · 0 comments

Comments

@Vigilans
Copy link

yabai query --<displays|spaces|windows> supports three constraint arguments:

ARGUMENT
^^^^^^^^

*--display* ['<DISPLAY_SEL>']::
    Constrain matches to the selected display.

*--space* ['<SPACE_SEL>']::
    Constrain matches to the selected space.

*--window* ['<WINDOW_SEL>']::
    Constrain matches to the selected window.

But they cannot be used at the same time, only the first passed argument is accepted.

I want to apply multiple constraint, to achieve things like "get the first window at specific display":

yabai -m query --windows --display 3 --window first
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant