# LibTmux::Hooks

- **Module:** LibTmux
- **Package:** libtmux
- **Language:** Ruby
- **Kind:** class
- **Source:** https://github.com/libtmux/libtmux-ruby/blob/da7b6191b9439e3c84fa1c9eeaa9168263ee7af4/gems/libtmux/lib/libtmux/options.rb#L166
- **Bases:** [`LibTmux::Options`](/en/ruby/v0.1.1/reference/libtmux-options/)
- **Page:** https://libtmux.org/en/ruby/v0.1.1/reference/libtmux-hooks/

Hook values are executable tmux command strings, never literal data.

## Members

### Common operations

- [`get`](/en/ruby/v0.1.1/reference/libtmux-hooks-get/) (method): Behavior: Options and hooks.
- [`set`](/en/ruby/v0.1.1/reference/libtmux-hooks-set/) (method): Behavior: Options and hooks.

### Other members

- [`list`](/en/ruby/v0.1.1/reference/libtmux-hooks-list/) (method): Behavior: Options and hooks.
- [`run`](/en/ruby/v0.1.1/reference/libtmux-hooks-run/) (method): Behavior: Options and hooks.
- [`unset`](/en/ruby/v0.1.1/reference/libtmux-hooks-unset/) (method): Behavior: Options and hooks.

## tmux hooks

Events that run tmux commands, with the scope each hook belongs to and where tmux fires it.

- [Hooks](/en/tmux/latest/catalog/hooks/) (hook)
