Skip to content

Instantly share code, notes, and snippets.

@CupOfGeo
Last active May 21, 2026 16:02
Show Gist options
  • Select an option

  • Save CupOfGeo/ad362047b23c0473a8bb9a8c37c3ef27 to your computer and use it in GitHub Desktop.

Select an option

Save CupOfGeo/ad362047b23c0473a8bb9a8c37c3ef27 to your computer and use it in GitHub Desktop.
My claude code settings (Mac)
{
"_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
}
@CupOfGeo

CupOfGeo commented Apr 13, 2026

Copy link
Copy Markdown
Author

use mac script to play media while Claude works and to pause it when its done.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment