Wire Stop and Notification hooks in ~/.claude/settings.json to a new ~/.claude/hooks/attention-bell.sh, which rings the terminal bell in the session pane so tmux monitor-bell flags the background window. The hook runs detached (no controlling tty), so it walks its process ancestry to the claude process and writes the BEL to that pane tty. Also replaces the dead settings.json symlink (pointed at a now-missing ~/wrk/claude path) with a real tracked file.
19 lines
320 B
JSON
19 lines
320 B
JSON
{
|
|
"hooks": {
|
|
"Stop": [
|
|
{
|
|
"hooks": [
|
|
{ "type": "command", "command": "~/.claude/hooks/attention-bell.sh" }
|
|
]
|
|
}
|
|
],
|
|
"Notification": [
|
|
{
|
|
"hooks": [
|
|
{ "type": "command", "command": "~/.claude/hooks/attention-bell.sh" }
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|