Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

If you want this to work over SSH, you'll need a different approach. I wrote an article about getting sounds from iTerm2 over SSH a while back: https://cgamesplay.com/post/2020/11/25/iterm-plugins/#playin...

Then it's just a simple Claude code hook to play whatever sound: https://github.com/CGamesPlay/dotfiles/blob/0fd07aea4863b581...



Just use OSC 9 or 777 to trigger desktop notifications. Much easier and supported in most major terminal emulators.


Claude has built-in support for those OSCs, no extra software needed. But you don't get the custom sound pack with those (at least without more extra software on the OS/terminal side).




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: