# libtmux.HookProgram

- **Module:** libtmux
- **Package:** libtmux
- **Language:** Lua
- **Kind:** class
- **Source:** https://github.com/libtmux/libtmux-lua/blob/d68f829fe097e38dcbbf7147e276666fe615f0cf/lua/libtmux/_internal/settings.lua#L638
- **Page:** https://libtmux.org/en/lua/v0.1.1/reference/libtmux-hookprogram/

## Members

### Other members

- [`commands`](/en/lua/v0.1.1/reference/libtmux-hookprogram-commands/) (attribute): Exactly one of commands or source.
- [`source`](/en/lua/v0.1.1/reference/libtmux-hookprogram-source/) (attribute): Explicit tmux program text; never Lua code.
