X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=README.md;h=fca170c1190923d4eeeb7e879da28d98ef79db8a;hb=7034c83032485c0777d5236feaa1215e95cfa5a6;hp=b014998db45d75ac3fb51ac58f21c09e9b754622;hpb=209e3f04d61c057fbdc8695500954adda09f5e39;p=deb_pkgs%2Fautorandr.git diff --git a/README.md b/README.md index b014998..fca170c 100644 --- a/README.md +++ b/README.md @@ -36,6 +36,7 @@ Contributors to this version of autorandr are: * Chris Dunder * Daniel Hahler * Maciej Sitarz +* Mathias Svensson * Matthew R Johnson * Phillip Berndt * Rasmus Wriedt Larsen @@ -87,5 +88,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`.