summaryrefslogtreecommitdiff
path: root/usr.bin/tmux/tmux.1
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@cvs.openbsd.org>2016-01-16 00:36:54 +0000
committerNicholas Marriott <nicm@cvs.openbsd.org>2016-01-16 00:36:54 +0000
commit135ad3eec8cab875f71767eea3f05a5750b12f26 (patch)
treec7e8fdcce66930d60e3714a8ec5ad73926a4dce3 /usr.bin/tmux/tmux.1
parent5c772c77d737945634dcc977fa0ad5245c75a44c (diff)
Add hooks for alerts (bell, silence, activity), from Thomas Adam.
Diffstat (limited to 'usr.bin/tmux/tmux.1')
-rw-r--r--usr.bin/tmux/tmux.114
1 files changed, 12 insertions, 2 deletions
diff --git a/usr.bin/tmux/tmux.1 b/usr.bin/tmux/tmux.1
index 91d6fa70bf5..53b1b7e6e17 100644
--- a/usr.bin/tmux/tmux.1
+++ b/usr.bin/tmux/tmux.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: tmux.1,v 1.475 2015/12/16 21:50:37 nicm Exp $
+.\" $OpenBSD: tmux.1,v 1.476 2016/01/16 00:36:53 nicm Exp $
.\"
.\" Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
.\"
@@ -14,7 +14,7 @@
.\" IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING
.\" OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\"
-.Dd $Mdocdate: December 16 2015 $
+.Dd $Mdocdate: January 16 2016 $
.Dt TMUX 1
.Os
.Sh NAME
@@ -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