Note that notifications are also hooks.

This commit is contained in:
nicm 2017-10-25 15:20:10 +00:00
parent 578a63bbc9
commit be4c01697c

7
tmux.1
View File

@ -3347,7 +3347,12 @@ layout after every
set-hook after-split-window "selectl even-vertical"
.Ed
.Pp
In addition, the following hooks are available:
All the notifications listed in the
.Sx CONTROL MODE
section are hooks (without any arguments), except
.Ic %exit .
The following additional hooks are available:
.Pp
.Bl -tag -width "XXXXXXXXXXXXXXXXXXXXXX"
.It alert-activity
Run when a window has activity.