# alert-silence

Source: https://libtmux.org/en/tmux/3.2a/catalog/hooks/alert-silence/

> Run when a window has been silent.

hook tmux3.2a

Run when a window has been silent.

* Scope

  session

* Set

  [`set-hook`](https://libtmux.org/en/tmux/3.2a/manual/set-hook/) `alert-silence command`

* Read

  [`show-hooks`](https://libtmux.org/en/tmux/3.2a/manual/show-hooks/) `alert-silence`

## Description[#](https://libtmux.org/en/tmux/3.2a/catalog/hooks/alert-silence/#description)

Run when a window has been silent. See [`monitor-silence`](https://libtmux.org/en/tmux/3.2a/catalog/options/monitor-silence/).

## Releases[#](https://libtmux.org/en/tmux/3.2a/catalog/hooks/alert-silence/#releases)

* [tmux 3.7c](https://libtmux.org/en/tmux/3.7c/catalog/hooks/alert-silence/) : present
* [tmux 3.2a](https://libtmux.org/en/tmux/3.2a/catalog/hooks/alert-silence/) : present

## Source[#](https://libtmux.org/en/tmux/3.2a/catalog/hooks/alert-silence/#source)

* Defined in

  [`options-table.c:1132`](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/options-table.c#L1132)

* Fired from

  * [`alerts.c:280`](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/alerts.c#L280) in `notify_winlink`

* C source reference

  [`options_table`](https://libtmux.org/en/tmux/3.2a/reference/c-variable-options_table/), [`notify_winlink`](https://libtmux.org/en/tmux/3.2a/reference/c-function-notify_winlink/)

* CLI Manual

  [Original manual entry](https://libtmux.org/en/tmux/3.2a/manual/full/#hooks-alert-silence)

## Used by[#](https://libtmux.org/en/tmux/3.2a/catalog/hooks/alert-silence/#used-by)

Library documentation that names this hook.

* Rust

  [`options.generated.ALERT_SILENCE`](https://libtmux.org/en/rs/latest/reference/options-generated-alert_silence/)

* Go

  [`tmux.ServerHookValues.AlertSilence`](https://libtmux.org/en/go/latest/reference/tmux-serverhookvalues-alertsilence/), [`tmux.SessionHookValues.AlertSilence`](https://libtmux.org/en/go/latest/reference/tmux-sessionhookvalues-alertsilence/)
