X-Git-Url: https://git.donarmstrong.com/?p=deb_pkgs%2Fautorandr.git;a=blobdiff_plain;f=README.md;h=d08b78c4222cc4337ae24cb671ae358b13000eb3;hp=5705284da99cbec180a8686641012a6ce38b9a4b;hb=2184cf58ac94acc2b5e060b6c25757441d6cb68d;hpb=f9b52400bda3cf62f806108d25ee9793936253da diff --git a/README.md b/README.md index 5705284..d08b78c 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,9 @@ The most useful one is `$AUTORANDR_CURRENT_PROFILE`. ## Changelog +* *2017-01-18* Accept comments (lines starting with `#`) in config/setup files +* *2017-01-20* New script hook, `predetect` + **autorandr 1.0** * *2016-12-07* Tag the current code as version 1.0.0; see github issue #54