Add hooks for alerts (bell, silence, activity), from Thomas Adam.

This commit is contained in:
nicm
2016-01-16 00:36:53 +00:00
parent d551ab8e5c
commit c9815307eb
4 changed files with 48 additions and 3 deletions

10
tmux.1
View File

@ -3224,6 +3224,16 @@ Each hook has a
.Em name .
The following hooks are available:
.Bl -tag -width "XXXXXXXXXXXXXXXX"
.It alert-activity
Run when a window has activity.
See
.Ic monitor-activity .
.It alert-bell
Run when a window has received a bell.
.It alert-silence
Run when a window has been silent.
See
.Ic monitor-silence .
.It client-attached
Run when a client is attached.
.It client-detached