-
Notifications
You must be signed in to change notification settings - Fork 348
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: Monitors as list or regexp #1398
Comments
Interesting idea, however what if multiple monitors are matched? We still don't support multiple monitors at the moment |
A list of regexps or substrings then, so ordering can be set, returning first matched. |
If the list is of simple string it can be matched iteratively and the first found is taken. But if it is a regex different implementations could return different results. How would you define a ordering for the matches? Alphabetical? |
I meant list of regexps or list of substrings, so it's always an explicit list. The question is then: how to match predictably against various fields. For example,
Assuming dunst has access to the same data, if list items are plain substrings, ambiguity can arise, i.e. Regexp would give more control: A prefix pointing to the specific field would give even more control: The second question is how to express a list of complex strings in dunst's config format. |
at the moment we can express a list of string in the config parser. my question about ambiguities was for this kind of cases: |
Either not care at all, or match from sorted list (i.e. by output names with natural sort). |
Issue description
Setting
monitor
as a single output number or name is too restrictive for a nomad laptop case, especially given how output numbering on wayland is not very predictable.Please consider making
monitor
option also take a regexp matching output names and descriptions (models/serials):The text was updated successfully, but these errors were encountered: