theniceboy/claude/settings.json
2025-09-02 11:54:11 -07:00

22 lines
646 B
JSON

{
"model": "opusplan",
"includeCoAuthoredBy": false,
"statusLine": {
"type": "command",
"command": "bash ~/.config/claude/scripts/statusline.sh",
"padding": 0
},
"hooks": {
"Stop": [
{
"matcher": ".*",
"hooks": [
{
"type": "command",
"command": "voice_flag=\"$HOME/.claude/voice-enabled\"; if [ -f \"$voice_flag\" ]; then transcript_path=$(cat | jq -r '.transcript_path'); pkill -f 'say' 2>/dev/null; nohup bash -c 'tail -1 \"'$transcript_path'\" | jq -r \".message.content[0].text // empty\" | say' >/dev/null 2>&1 & fi"
}
]
}
]
}
}