Created
January 15, 2026 17:35
-
-
Save danielkellyio/df74c5ef994e83c50de6fa0d670a720a to your computer and use it in GitHub Desktop.
Claude Code Notification Hook
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
| // .claude/settings.json | |
| "hooks": { | |
| "PermissionRequest": [ | |
| { | |
| "hooks": [ | |
| { | |
| "type": "command", | |
| // customize the sound by pointing to the file of your choice | |
| "command": "afplay /System/Library/Sounds/Glass.aiff" | |
| // or for windows | |
| // "command": powershell -c (New-Object Media.SoundPlayer 'C:\path\to\sound.wav').PlaySync() | |
| } | |
| ] | |
| } | |
| ], | |
| "Stop": [ | |
| { | |
| "hooks": [ | |
| { | |
| "type": "command", | |
| "command": "afplay /System/Library/Sounds/Ping.aiff" | |
| // or for windows | |
| // "command": powershell -c (New-Object Media.SoundPlayer 'C:\path\to\sound.wav').PlaySync() | |
| } | |
| ] | |
| } | |
| ] | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment