# LibTmux::Configuration::Hooks

- **Module:** LibTmux
- **Package:** LibTmux
- **Language:** Raku
- **Kind:** class
- **Source:** https://github.com/libtmux/libtmux-raku/blob/e76160bcce6e03976d49424da15b7c31afb2c68e/lib/LibTmux/Configuration.rakumod#L470
- **Page:** https://libtmux.org/en/raku/latest/reference/libtmux-configuration-hooks/

Named hook command arrays. Reading a hook never executes its command source.

Named hook command arrays. Reading a hook never executes its command source.

## Members

### Common operations

- [`list`](/en/raku/latest/reference/libtmux-configuration-hooks-list/) (method): Read local hook entries; each value is native printed command source.
- [`set`](/en/raku/latest/reference/libtmux-configuration-hooks-set/) (method): Set one hook index to a validated tmux command; the command is deferred.
- [`unset`](/en/raku/latest/reference/libtmux-configuration-hooks-unset/) (method): Remove a hook array or one explicit index.

### Other members

- [`append`](/en/raku/latest/reference/libtmux-configuration-hooks-append/) (method): Append one command to the hook array using tmux's native array allocation.
- [`clone`](/en/raku/latest/reference/libtmux-configuration-hooks-clone/) (method): Copy endpoint, scope and limits through constructor validation.
- [`run`](/en/raku/latest/reference/libtmux-configuration-hooks-run/) (method): Queue a hook now. Acknowledgement does not prove its commands' effects.
