佚名 (@wzs) 在 claude code运行完后播放提示音 中发帖
来自这个佬的帖子: claude code运行完后弹出提示,防止摸鱼过头 - 开发调优 - LINUX DO
我比较喜欢后台播放提示音的方式,改了一下
"hooks": {
"Stop": [
{
"hooks": [
{
"type": "command",
"command": "powershell -c \"(New-Object Media.SoundPlayer 'C:\\Users\\Administrator\\.claude\\diymp3\\over.wav').PlaySync()\" 2>nul "
}
...