Skip to content

Commit f0b3b6b

Browse files
committed
chore: enhance CLAUDE.md with sound notification settings
- Added a new section detailing the `sounds/` directory for notification sounds related to Claude Code hooks. - Included instructions for symlinking the `settings.json` file to enable sound notifications when tasks are completed. - Provided guidance on overriding the default sound path using the `DEVKIT_PATH` environment variable.
1 parent 600b44f commit f0b3b6b

3 files changed

Lines changed: 56 additions & 0 deletions

File tree

.claude/settings.json

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
{
2+
"$schema": "https://json.schemastore.org/claude-code-settings.json",
3+
"hooks": {
4+
"Stop": [
5+
{
6+
"matcher": "",
7+
"hooks": [
8+
{
9+
"type": "command",
10+
"command": "DEVKIT=\"${DEVKIT_PATH:-$HOME/personal-workspace/devkit}\"; [ \"$(uname)\" = \"Darwin\" ] && afplay -v 0.8 \"$DEVKIT/sounds/navi-listen.wav\" || aplay \"$DEVKIT/sounds/navi-listen.wav\""
11+
}
12+
]
13+
}
14+
],
15+
"Notification": [
16+
{
17+
"matcher": "",
18+
"hooks": [
19+
{
20+
"type": "command",
21+
"command": "DEVKIT=\"${DEVKIT_PATH:-$HOME/personal-workspace/devkit}\"; [ \"$(uname)\" = \"Darwin\" ] && afplay -v 0.8 \"$DEVKIT/sounds/navi-listen.wav\" || aplay \"$DEVKIT/sounds/navi-listen.wav\""
22+
}
23+
]
24+
}
25+
]
26+
},
27+
"statusLine": {
28+
"type": "command",
29+
"command": "bash $HOME/.claude/statusline-command.sh"
30+
},
31+
"enabledPlugins": {
32+
"gopls-lsp@claude-plugins-official": true,
33+
"linear@claude-plugins-official": true,
34+
"typescript-lsp@claude-plugins-official": true,
35+
"rust-analyzer-lsp@claude-plugins-official": true
36+
},
37+
"alwaysThinkingEnabled": true,
38+
"effortLevel": "high",
39+
"skipDangerousModePermissionPrompt": true
40+
}

CLAUDE.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ A portable, reproducible terminal development environment (devkit). Not a softwa
1717
- `.claude/rules/` -- Symlinked from `skills/rules/` (single source of truth)
1818
- `.cursor/rules/` -- Cursor rules (same standards, `.mdc` format)
1919
- `.config/` -- Tool configs: Ghostty terminal, git-delta, Starship prompt, shell enhancements (zoxide, fzf, eza aliases)
20+
- `sounds/` -- Notification sounds for Claude Code hooks (Navi "Hey! Listen!" from Zelda)
2021
- `scripts/` -- Utility scripts (killport.sh, brew-update.sh, dev-cleanup.sh)
2122

2223
## Key Commands
@@ -49,6 +50,21 @@ Configs are symlinked from this repo to `~/.config/` and `~/`:
4950
- `.config/ghostty/config` -> `~/.config/ghostty/config`
5051
- `.config/git/delta.gitconfig` -> included via `git config --global include.path`
5152
- `.config/shell/enhancements.zsh` -> sourced from `.zshrc`
53+
- `.claude/settings.json` -> `~/.claude/settings.json`
54+
55+
### Claude Code Settings
56+
57+
```bash
58+
ln -sf /path/to/devkit/.claude/settings.json ~/.claude/settings.json
59+
```
60+
61+
The settings include hooks that play Navi's "Hey! Listen!" sound (from The Legend of Zelda) when Claude finishes a task or sends a notification. Uses `afplay` on macOS and `aplay` on Linux.
62+
63+
The sound path defaults to `~/personal-workspace/devkit/sounds/`. Override by setting `DEVKIT_PATH` in your shell if you cloned the repo elsewhere:
64+
65+
```bash
66+
export DEVKIT_PATH="$HOME/path/to/devkit"
67+
```
5268

5369
## AI Tools (Optional)
5470

sounds/navi-listen.wav

752 KB
Binary file not shown.

0 commit comments

Comments
 (0)