# io.github.libtmux.scaladsl.cats.Hooks

- **Module:** io.github.libtmux.scaladsl.cats
- **Package:** io.github.libtmux:libtmux-scala_3
- **Language:** Scala
- **Kind:** class
- **Source:** https://github.com/libtmux/libtmux-java/blob/f56392b5d9bc7f1f9c1631842333fb90f3d82d40/libtmux-scala-cats/src/main/scala/io/github/libtmux/scaladsl/cats/Subsystems.scala#L10
- **Page:** https://libtmux.org/en/scala/latest/reference/io-github-libtmux-scaladsl-cats-hooks/

```
final class Hooks[F[_]]
```

Read and update tmux hooks through the owning [[server]].

Operations run in the effect type `F`. Use [[asJava]] to access the Java
hook API directly.

## Members

### Other members

- `all` (method): Every hook at this scope, keyed by event, each with its commands in the order tmux runs them.
- `append` (method): As {@link #append(String, String)}, with the command as words.
- `asJava` (method): The Java handle this wraps: the one escape hatch, as on every handle.
- `equals` (method)
- `hashCode` (method)
- `run` (method): Runs what is bound to an event now, without waiting for the event.
- `server` (property)
- `set` (method): Binds a tmux command to an event at this scope, replacing anything already bound to it.
- `toString` (method)
- `unset` (method): Removes everything bound to an event at this scope.
