My claude code settings (Mac) Configuration file (`settings.json`) for Claude Code on Mac, which defines automated hooks that pause and resume media playback (using `nowplaying-cli`) during Claude interactions, and triggers a `rtk` hook before Bash tool use. The settings also enable several official plugins for frontend design, code review, security guidance, and Swift LSP, while disabling remote control at startup. Last active May 21, 2026 16:02 - - Save CupOfGeo/ad362047b23c0473a8bb9a8c37c3ef27 to your computer and use it in GitHub Desktop. My claude code settings Mac 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 https://github.co/hiddenchars | { | | | " 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 | | | } | Author use mac script to play media while Claude works and to pause it when its done.