-
-
Save jespr/85f779b758035fbfb80c32695facb175 to your computer and use it in GitHub Desktop.
Have Claude Code use terminal-notifier to create notifications when my attention is needed
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 | |
| // brew install terminal-notifier | |
| { | |
| "hooks": { | |
| "Notification": [ | |
| { | |
| "hooks": [ | |
| { | |
| "type": "command", | |
| "command": "terminal-notifier -title \"Claude Code\" -message \"Waiting for your input\" -sound default" | |
| } | |
| ] | |
| } | |
| ], | |
| "Stop": [ | |
| { | |
| "hooks": [ | |
| { | |
| "type": "command", | |
| "command": "terminal-notifier -title \"Claude Code\" -message \"Claude has completed the task\" -sound default" | |
| } | |
| ] | |
| } | |
| ] | |
| }, | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment