1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
{
"permissions": {
"deny": [
"Bash(rm -rf:*)",
"Read(**/*.gpg)",
"Read(**/.gnupg/**/*)",
"Read(**/.password-store/**/*)",
"Write(**/*.gpg)",
"Write(**/.gnupg/**/*)",
"Write(**/.password-store/**/*)"
]
},
"hooks": {
"Notification": [
{
"matcher": "permission_prompt",
"hooks": [
{
"type": "command",
"command": "notify-send -u critical -i dialog-warning '🤖 Claude Code' 'Permission confirmation required'",
"timeout": 5
}
]
},
{
"matcher": "idle_prompt",
"hooks": [
{
"type": "command",
"command": "notify-send -i dialog-question '🤖 Claude Code' 'Waiting for input'",
"timeout": 5
}
]
}
]
},
"statusLine": {
"type": "command",
"command": "$CLAUDE_CONFIG_DIR/statuslines/statusline.sh"
}
}
|