TalonCommunity / Wiki

Community maintained wiki for Talon Voice
https://talon.wiki
75 stars 76 forks source link

need clarity on combining .talon context header requirements #126

Open codecat555 opened 3 years ago

codecat555 commented 3 years ago

In this section - https://talon.wiki/unofficial_talon_docs/#context-header - we have the following text:

Each kind of requirement can be listed several times. Entries of the same kind of requirement are OR‘d together, and of different kinds are AND‘d.

The 'same kind' language is ambiguous. Here's some alternate language (from aegis) which could be used instead:

talon ORs between the same key, because it needs to (you can't generally match app: slack and app: safari at the same time for example) talon ANDs between different keys, because it needs to (app: slack, title: /talon/)

See https://talonvoice.slack.com/archives/C9MHQ4AGP/p1623385104250700 .

codecat555 commented 3 years ago

There is some back-and-forth discussion at the link referenced above, which may help in editing this section. Here, at the end, is another good summary statement: https://talonvoice.slack.com/archives/C9MHQ4AGP/p1623387488266100 .