From: Phillip Berndt <phillip.berndt@googlemail.com>
Date: Tue, 31 May 2016 08:32:21 +0000 (+0200)
Subject: Added hint on hooks (related to bug #49)
X-Git-Tag: 1.0~22
X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=597feedca9cde4ee1ca8809cb8dce7df4163f616;p=deb_pkgs%2Fautorandr.git

Added hint on hooks (related to bug #49)
---

diff --git a/README.md b/README.md
index 52867d1..1bda138 100644
--- a/README.md
+++ b/README.md
@@ -85,9 +85,12 @@ To change this behaviour and switch to a fallback configuration, specify
 `--default <profile>`.
 
 Another script called `postswitch` can be placed in the directory
-`~/.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.
+`~/.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. The same holds for `preswitch`, which is executed before the switch
+takes place, and `postsave`, which is executed after a profile was
+stored/altered.
 
 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