From c2f47b2c0c66e9ab088689bc9041f4bd14f768f5 Mon Sep 17 00:00:00 2001 From: Phillip Berndt Date: Mon, 26 Mar 2018 19:43:07 +0200 Subject: [PATCH] Update documentation with wildcard matching --- README.md | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 1b63cc2..abc182a 100644 --- a/README.md +++ b/README.md @@ -145,7 +145,9 @@ You can store default values for any option in an INI-file in `~/.config/autorandr/settings.ini` in a section `config`. The most useful candidate for doing that is `skip-options`, if you need it. -## Hook scripts +## Advanced usage + +### Hook scripts Three more scripts can be placed in the configuration directory (as (as defined by the [XDG spec](https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html), @@ -194,6 +196,13 @@ a new monitor, then you can use a `predetect` script to delay the execution. Write e.g. `sleep 1` into that file to make autorandr wait a second before running `xrandr`. +### Wildcard EDID matching + +The EDID strings in the `~/.config/autorandr/*/setup` files may contain an +asterisk to enable wildcard matching: Such EDIDs are matched against connected +monitors using the usual file name globbing rules. This can be used to create +profiles matching multiple (or any) monitors. + ## Changelog * *2018-01-04* Fixed vertical/horizontal/clone-largest virtual profiles -- 2.39.5