X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=README.md;h=1e45b22f5e51a9fe44d066077c57c45ed5b12fcd;hb=aba8d109d4ef59ccf3f42b4a120582b11693fc19;hp=5fb8ac11517687f202684fffd4ce008de5220bdb;hpb=e0dfa631a21d7d30424a4ba9dde26faeedfcd224;p=deb_pkgs%2Fautorandr.git diff --git a/README.md b/README.md index 5fb8ac1..1e45b22 100644 --- a/README.md +++ b/README.md @@ -34,6 +34,7 @@ Contributors to this version of autorandr are: * Alexander Wirt * Chris Dunder +* Daniel Hahler * Maciej Sitarz * Matthew R Johnson * Phillip Berndt @@ -41,8 +42,10 @@ Contributors to this version of autorandr are: * Stefan Tomanek * Timo Bingmann * Tomasz Bogdal +* Victor Häggqvist * stormc * tachylatus +* andersonjacob ## How to use @@ -80,9 +83,14 @@ To change this behaviour and switch to a fallback configuration, specify `--default `. Another script called `postswitch` can be placed in the directory -`~/.autorandr` as well as in all profile directories: The scripts are executed +`~/.config/autorandr` (or `~/.autorandr` if you have an old installation) as well as in all profile directories: The scripts are executed after a mode switch has taken place and can notify window managers or other applications about it. -To install autorandr call `make install`, define your setup and then call -`make hotplug` to install hotplug scripts. +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 +autorandr's state is exposed as environment variables prefixed with `AUTORANDR_`. +The most useful one is `$AUTORANDR_CURRENT_PROFILE`. + +To install autorandr call `make install`.