@fonsecalavi_:

𝐋avi
𝐋avi
Open In TikTok:
Region: BR
Thursday 11 June 2026 23:39:53 GMT
188
31
0
2

Music

Download

Comments

There are no more comments for this video.
To see more videos from user @fonsecalavi_, please go to the Tikwm homepage.

Other Videos

Grab the prompt here! 👇  I want my Mac to play a sound and show a macOS notification banner every time   Claude Code finishes responding to me. Set this up end-to-end without assuming    I have anything installed.   Follow these steps:   1. Check for Homebrew (which brew). If missing, stop and tell me to install it    from https://brew.sh, then wait for me to confirm before continuing.   2. Check for terminal-notifier (which terminal-notifier). If missing, install   it via brew install terminal-notifier. Use this instead of osascript —   osascript notifications get attributed to
Grab the prompt here! 👇 I want my Mac to play a sound and show a macOS notification banner every time   Claude Code finishes responding to me. Set this up end-to-end without assuming    I have anything installed.   Follow these steps:   1. Check for Homebrew (which brew). If missing, stop and tell me to install it    from https://brew.sh, then wait for me to confirm before continuing.   2. Check for terminal-notifier (which terminal-notifier). If missing, install   it via brew install terminal-notifier. Use this instead of osascript —   osascript notifications get attributed to "Script Editor" and often fail   silently.   3. Read ~/.claude/settings.json. Create it as {} if it doesn't exist. Read the    full contents so you can merge cleanly — never overwrite.   4. Add or extend a Stop hook in that file. The command should play   /System/Library/Sounds/Glass.aiff (via afplay) AND fire a terminal-notifier   banner with title "Claude Code", message "Claude is done", and -sender   com.apple.Terminal so the icon matches Terminal.app. (If I use iTerm2 instead,    use com.googlecode.iterm2.) If a Stop hook already exists, extend its command    rather than adding a duplicate.   5. Validate the resulting file is valid JSON (e.g. jq .   ~/.claude/settings.json). A malformed settings file silently disables all   settings.   6. Tell me what happens next:     - The hook fires automatically on your next response — no restart needed.     - The first banner triggers a macOS permission prompt. I need to click   Allow, otherwise only the sound plays.     - If banners never appear, check System Settings → Notifications →   terminal-notifier and confirm it's enabled. #ai #claude

About