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

Add an example about doing a or b context matching #295

Open
fidgetingbits opened this issue Jul 25, 2024 · 0 comments
Open

Add an example about doing a or b context matching #295

fidgetingbits opened this issue Jul 25, 2024 · 0 comments

Comments

@fidgetingbits
Copy link
Contributor

Talon doesn't directly support or for context matching, so if you want a context to match something like tag: foo OR win.title: bar but not both, you have to do something like:

tag: foo
and not win.title: bar

win.title: bar
and not tag: foo

If you want it to match on one or the other, or both, then you have to do like:

tag: foo
and not win.title: bar

win.title: bar
and not tag: foo

tag: foo
win.title: bar

Pretty sure this isn't documented anywhere except in the 3 month slack hole.

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