diff options
| author | TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> | 2026-01-17 10:56:30 +0900 |
|---|---|---|
| committer | TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> | 2026-01-17 10:56:30 +0900 |
| commit | e92a0d2bff3ed2c09d2bde3873a4db7638729b5a (patch) | |
| tree | 12cacb9e70dec1feb93c9a5f78a5c22f1bf904d2 /ar | |
| parent | 808541620e26dc7295f8f3f35d7cb2e64e223331 (diff) | |
modified shell/profile, created claude/
Diffstat (limited to 'ar')
| -rw-r--r-- | ar/.config/claude/settings.json | 42 | ||||
| -rw-r--r-- | ar/.config/shell/profile | 3 |
2 files changed, 45 insertions, 0 deletions
diff --git a/ar/.config/claude/settings.json b/ar/.config/claude/settings.json new file mode 100644 index 0000000..8c88f47 --- /dev/null +++ b/ar/.config/claude/settings.json @@ -0,0 +1,42 @@ +{ + "model": "sonnet", + "permissions": { + "deny": [ + "Bash(rm -rf:*)", + "Read(**/*.gpg)", + "Read(**/.gnupg/**/*)", + "Read(**/.password-store/**/*)", + "Write(**/*.gpg)", + "Write(**/.gnupg/**/*)", + "Write(**/.password-store/**/*)" + ] + }, + "statusLine": { + "type": "command", + "command": "$CLAUDE_CONFIG_DIR/statuslines/statusline.sh" + }, + "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 + } + ] + } + ] + } +} diff --git a/ar/.config/shell/profile b/ar/.config/shell/profile index f68a4b8..b7def42 100644 --- a/ar/.config/shell/profile +++ b/ar/.config/shell/profile @@ -74,6 +74,9 @@ export BAT_CONFIG_PATH="$XDG_CONFIG_HOME/bat/config" ### --- CARGO --- ### export CARGO_HOME="$XDG_DATA_HOME/cargo" +### --- CLAUDE --- ### +export CLAUDE_CONFIG_DIR="$XDG_CONFIG_HOME/claude" + ### --- DICS --- ### export DICS="/usr/share/stardict/dic/" |
