summaryrefslogtreecommitdiff
path: root/ar/.config
diff options
context:
space:
mode:
Diffstat (limited to 'ar/.config')
-rw-r--r--ar/.config/claude/settings.json42
-rw-r--r--ar/.config/shell/profile3
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/"