diff --git a/claude/settings.json b/claude/settings.json new file mode 100644 index 0000000..a8b5a88 --- /dev/null +++ b/claude/settings.json @@ -0,0 +1,25 @@ +{ + "theme": "dark", + "hooks": { + "Stop": [ + { + "hooks": [ + { + "type": "command", + "command": "notify-send 'Claude' 'Task complete' --icon=dialog-information 2>/dev/null || true" + } + ] + } + ], + "Notification": [ + { + "hooks": [ + { + "type": "command", + "command": "msg=$(jq -r '.message // \"Needs your input\"' 2>/dev/null || echo 'Needs your input'); notify-send 'Claude needs input' \"$msg\" --icon=dialog-question 2>/dev/null || true" + } + ] + } + ] + } +} diff --git a/setup.sh b/setup.sh index 81efd7b..c1ce6b2 100755 --- a/setup.sh +++ b/setup.sh @@ -29,3 +29,6 @@ configlink polybar configlink picom.conf configlink niri configlink noctalia + +checkdir ~/.claude +link ~/.claude/settings.json ~/.dotfiles/claude/settings.json