-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
enhancementNew feature or requestNew feature or requestp3-lowCosmetic, noisy logs, minor polishCosmetic, noisy logs, minor polishtmuxzig-forkRequires Ghostty fork changesRequires Ghostty fork changes
Description
Summary
Support tmux hooks for custom event-driven behavior beyond the built-in control mode notifications.
What it is
tmux hooks allow registering commands to run when specific events occur. In control mode, hooks can be used to send additional information when events happen that aren't covered by the standard `%`-notifications.
Commands needed
| Command | Purpose |
|---|---|
| `set-hook [-g] hook-name command` | Register a hook |
| `show-hooks [-g]` | List registered hooks |
Why this matters
Hooks extend the notification system. For example:
- `after-select-pane` — custom action when pane focus changes
- `after-resize-pane` — custom action on resize
- `client-attached` / `client-detached` — custom actions on client lifecycle
This is mainly relevant if Geistty needs to react to events that don't have built-in `%`-notifications.
Priority
Low — the built-in notifications cover the important events. Hooks are for advanced customization.
Upstream potential
Fully upstreamable.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestp3-lowCosmetic, noisy logs, minor polishCosmetic, noisy logs, minor polishtmuxzig-forkRequires Ghostty fork changesRequires Ghostty fork changes