From 597feedca9cde4ee1ca8809cb8dce7df4163f616 Mon Sep 17 00:00:00 2001 From: Phillip Berndt Date: Tue, 31 May 2016 10:32:21 +0200 Subject: [PATCH] Added hint on hooks (related to bug #49) --- README.md | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) 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 `. 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 -- 2.39.5