Skip to content

Instantly share code, notes, and snippets.

@kostyay
Created January 23, 2026 08:57
Show Gist options
  • Select an option

  • Save kostyay/ad0a8182c437899ff838f23d8ca3fa3a to your computer and use it in GitHub Desktop.

Select an option

Save kostyay/ad0a8182c437899ff838f23d8ca3fa3a to your computer and use it in GitHub Desktop.
Claude Code notifications
// Add this to your settings.json
// brew install terminal-notifier
{
"hooks": {
"Notification": [
{
"matcher": "",
"hooks": [
{
"type": "command",
"command": "afplay /System/Library/Sounds/Glass.aiff"
},
{
"type": "command",
"command": "terminal-notifier -title \"🔔 Claude Code\" -message \"Claude needs your input\""
}
]
}
],
"Stop": [
{
"matcher": "",
"hooks": [
{
"type": "command",
"command": "afplay /System/Library/Sounds/Glass.aiff"
},
{
"type": "command",
"command": "terminal-notifier -title \"✅ Claude Code\" -message \"The task has been completed\""
}
]
}
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment