diff options
author | Thorsten Wißmann <re06huxa@stud.informatik.uni-erlangen.de> | 2013-01-21 21:50:59 +0100 |
---|---|---|
committer | Thorsten Wißmann <re06huxa@stud.informatik.uni-erlangen.de> | 2013-01-21 21:50:59 +0100 |
commit | 6cd2ce5dbd43a11716290d27ca9cc406d8ffa100 (patch) | |
tree | 9668437bebd738fb999c2ac6835970090ed15134 /doc | |
parent | 7937e7d88db9133ddb64a7276bd679ff1ba0c345 (diff) |
The hook consequence now tells the winid
Diffstat (limited to 'doc')
-rw-r--r-- | doc/herbstluftwm.txt | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/doc/herbstluftwm.txt b/doc/herbstluftwm.txt index 78f77db9..2c3715dd 100644 --- a/doc/herbstluftwm.txt +++ b/doc/herbstluftwm.txt @@ -968,9 +968,10 @@ Each 'CONSEQUENCE' consists of a 'NAME'='VALUE' pair. Valid 'NAMES' are: *toggle*. +hook+:: - emits the custom hook +rule+ 'VALUE' when this rule is triggered. This - consequence can be used multiple times, which will cause a hook to be - emitted for each occurrence of a hook consequence. + emits the custom hook +rule+ 'VALUE' 'WINID' when this rule is triggered by + a new window with the id 'WINID'. This consequence can be used multiple + times, which will cause a hook to be emitted for each occurrence of a hook + consequence. A rule's behaviour can be configured by some special 'FLAGS': @@ -1046,6 +1047,10 @@ tag_removed 'TAG':: urgent [on|off] 'WINID':: The urgent state of client with given 'WINID' has been changed to [on|off]. +rule 'NAME' 'WINID':: + A window with the id 'WINID' appeared which triggerd a rule with the + consequence hook='NAME'. + There are also other useful hooks, which never will be emitted by herbstluftwm itself, but which can be emitted with the *emit_hook* command: |