From: Phillip Berndt Date: Mon, 26 Mar 2018 17:43:07 +0000 (+0200) Subject: Update documentation with wildcard matching X-Git-Tag: 1.5~1 X-Git-Url: https://git.donarmstrong.com/?p=deb_pkgs%2Fautorandr.git;a=commitdiff_plain;h=c2f47b2c0c66e9ab088689bc9041f4bd14f768f5 Update documentation with wildcard matching --- 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