7. Do NOT use terminal-notifier's -sender flag to borrow Claude's icon. On macOS 26 it silently delivers nothing and leaves a hung process per notification.
8. Test it by piping fake Stop JSON into the script, then tell me to check that the notification appeared.
if you use Ghostty, here's a quick hack that made my Claude Code workflow a lot more productive.
i get a Mac notification when a session finishes or needs me: session name as title, the Claude logo, one click back into Ghostty.
paste this into Claude Code and it builds it οΏ½οΏ½
6. Clicking the notification should focus Ghostty (-activate com.mitchellh.ghostty). Use -group claude-<session_id> and kill any older notifier for the same session so they don't pile up.
5. Show the Claude logo as the notification image (-contentImage). Save a Claude logo PNG to ~/.claude/hooks/claude-logo.png. Use the Claude app icon if the app is installed, otherwise download one.
4. Notification content:
- Title: the session name. Use the last customTitle from the transcript_path jsonl, else the last aiTitle, else the folder name.
- Subtitle: the project folder.
Set up Mac notifications for Claude Code in Ghostty.
1. Install terminal-notifier with Homebrew if it's missing.
2. Create ~/.claude/hooks/notify-done.sh (chmod +x). It reads the hook JSON from stdin and only runs when TERM_PROGRAM=ghostty.
βοΈ UNSLOPIFY YOUR UIUX:
When every screen picks its own spacing, colours and button styles, the app looks stitched together. Pull them into one design system with shared tokens, and every new screen matches by default.
βοΈ UNSLOPIFY YOUR UIUX:
When a card opens into a full page, crossfading two separate elements loses track of what you tapped.
Share one layoutId between them, and the same card grows into the page.
@mehmetatakartal does the limit heads-up show the session limit or the weekly one? (can it be both)
and whatβs the diff between this and running a scheduled job to clear cache at the end of the workday
Got handed the mic for my first-ever pitch about @ualtercontacts at the GenAI Builders Meetup at Stripe Singapore last week!
And it was a blast π₯
Thanks @genaifund_ai, BeyondPilot, @twilio and @stripe for having me
βοΈ UNSLOPIFY YOUR UIUX:
Icons from three different sets, some filled, some outline, all different weights, make a screen look patched together. Pick one set and one style, and the whole thing calms down.