Created
January 8, 2026 01:02
-
-
Save yottahmd/cbea7a4062905df845b6d895387e4c3e to your computer and use it in GitHub Desktop.
Example of ClaudeCode notification setting (save in `~/.claude/`)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| read -r input | |
| message=$(echo "$input" | jq -r '.message') | |
| terminal-notifier -title "Claude Code" -message "$message" -sound Tink |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "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