-
-
Save richinseattle/0e611cb25f1d419661ffec6a6fdee124 to your computer and use it in GitHub Desktop.
Claude code plays music while thinking
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "_comment": "rtk hook requieres: brew install rtk. media hooks require: brew install nowplaying-cli. Looks for a file `~/.claude/no-media` if present or not to trigger.", | |
| "hooks": { | |
| "Stop": [ | |
| { | |
| "matcher": "", | |
| "hooks": [ | |
| { | |
| "type": "command", | |
| "command": "[ -f ~/.claude/no-media ] || nowplaying-cli pause" | |
| } | |
| ] | |
| } | |
| ], | |
| "Notification": [ | |
| { | |
| "matcher": "", | |
| "hooks": [ | |
| { | |
| "type": "command", | |
| "command": "[ -f ~/.claude/no-media ] || nowplaying-cli pause" | |
| } | |
| ] | |
| } | |
| ], | |
| "UserPromptSubmit": [ | |
| { | |
| "matcher": "", | |
| "hooks": [ | |
| { | |
| "type": "command", | |
| "command": "[ -f ~/.claude/no-media ] || nowplaying-cli play" | |
| } | |
| ] | |
| } | |
| ], | |
| "PostToolUse": [ | |
| { | |
| "matcher": "AskUserQuestion", | |
| "hooks": [ | |
| { | |
| "type": "command", | |
| "command": "[ -f ~/.claude/no-media ] || nowplaying-cli play" | |
| } | |
| ] | |
| } | |
| ], | |
| "PermissionRequest": [ | |
| { | |
| "matcher": "", | |
| "hooks": [ | |
| { | |
| "type": "command", | |
| "command": "[ -f ~/.claude/no-media ] || nowplaying-cli play" | |
| } | |
| ] | |
| } | |
| ], | |
| "PreToolUse": [ | |
| { | |
| "matcher": "Bash", | |
| "hooks": [ | |
| { | |
| "type": "command", | |
| "command": "rtk hook claude" | |
| } | |
| ] | |
| } | |
| ] | |
| }, | |
| "enabledPlugins": { | |
| "frontend-design@claude-plugins-official": true, | |
| "code-review@claude-plugins-official": true, | |
| "security-guidance@claude-plugins-official": true, | |
| "swift-lsp@claude-plugins-official": true | |
| }, | |
| "remoteControlAtStartup": false | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment