X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=README.md;h=728def60e006a49a5e9dd5640dd4c996b6670beb;hb=855c18b7f2cfd364d6f085d4301b5b98ba6e572a;hp=b20d47e2f7e2e10eeeef6b0369d4b968870c2693;hpb=a56981281ce4fb1a3a81eb3edd48e430b6902706;p=deb_pkgs%2Fautorandr.git diff --git a/README.md b/README.md index b20d47e..728def6 100644 --- a/README.md +++ b/README.md @@ -122,6 +122,11 @@ about it. The same holds for `preswitch`, which is executed before the switch takes place, and `postsave`, which is executed after a profile was stored/altered. +If you experience issues with xrandr being executed too early after connecting +a new monitor, then you can create a script `predetect`, which will be executed +before autorandr attempts to run xrandr. Place e.g. `sleep 1` into that file +to make autorandr wait a second before running xrandr. + All scripts can also be placed in any of the `$XDG_CONFIG_DIRS`. In addition to the script names themselves, any executables in subdirectories named `script_name.d` (e.g. `postswitch.d`) are executed as well. In scripts, some of @@ -130,6 +135,7 @@ The most useful one is `$AUTORANDR_CURRENT_PROFILE`. ## Changelog +* *2017-01-20* New script hook, `predetect` * *2017-01-18* Accept comments (lines starting with `#`) in config/setup files **autorandr 1.0**