Skip to content

Instantly share code, notes, and snippets.

@rjurney
Created September 13, 2025 10:10
Show Gist options
  • Save rjurney/5474f9e57ca30ef62aa91e50854f713a to your computer and use it in GitHub Desktop.
Save rjurney/5474f9e57ca30ef62aa91e50854f713a to your computer and use it in GitHub Desktop.
{
"hooks": {
"PostToolUse": [
{
"matcher": "*",
"hooks": [
{
"type": "command",
"command": "if command -v osascript >/dev/null 2>&1; then osascript -e 'beep 1'; elif command -v notify-send >/dev/null 2>&1; then notify-send 'Claude Code' \"Tool: $CLAUDE_TOOL_NAME completed\"; fi"
}
]
}
],
... rest of your .claude/settings.json or ~/.claude/settings.json
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment