Skip to content

Instantly share code, notes, and snippets.

@yottahmd
Created January 8, 2026 01:02
Show Gist options
  • Select an option

  • Save yottahmd/cbea7a4062905df845b6d895387e4c3e to your computer and use it in GitHub Desktop.

Select an option

Save yottahmd/cbea7a4062905df845b6d895387e4c3e to your computer and use it in GitHub Desktop.
Example of ClaudeCode notification setting (save in `~/.claude/`)
#!/bin/bash
read -r input
message=$(echo "$input" | jq -r '.message')
terminal-notifier -title "Claude Code" -message "$message" -sound Tink
{
"hooks": {
"Notification": [
{
"matcher": "idle_prompt",
"hooks": [
{
"type": "command",
"command": "/Users/hamadayouta/.claude/notify.sh"
}
]
},
{
"hooks": [
{
"type": "command",
"command": "/Users/hamadayouta/.claude/notify.sh"
}
]
},
{
"matcher": "permission_prompt",
"hooks": [
{
"type": "command",
"command": "/Users/hamadayouta/.claude/notify.sh"
}
]
}
]
},
"preferredNotifChannel": "terminal_bell"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment