X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=README.md;h=52867d176952bf4cbafcf193ca733424896ba440;hb=9d4f09ed4f66a25d2f580f60ad4fda024e573b71;hp=a95e19e43e06f837e3c6e53abc61fb0d6b0eb234;hpb=da467b16c7c6be5258eb758941be345ff1b350d8;p=deb_pkgs%2Fautorandr.git diff --git a/README.md b/README.md index a95e19e..52867d1 100644 --- a/README.md +++ b/README.md @@ -34,7 +34,9 @@ Contributors to this version of autorandr are: * Alexander Wirt * Chris Dunder +* Daniel Hahler * Maciej Sitarz +* Mathias Svensson * Matthew R Johnson * Phillip Berndt * Rasmus Wriedt Larsen @@ -45,6 +47,7 @@ Contributors to this version of autorandr are: * stormc * tachylatus * andersonjacob +* Simon Wydooghe ## How to use @@ -86,5 +89,10 @@ Another script called `postswitch` can be placed in the directory 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`.