logoalt Hacker News

CGamesPlayyesterday at 11:12 AM1 replyview on HN

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...


Replies

formerly_provenyesterday at 11:33 AM

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

show 1 reply