aboutsummaryrefslogtreecommitdiffhomepage
path: root/bin/__claude-code-notify
diff options
context:
space:
mode:
Diffstat (limited to 'bin/__claude-code-notify')
-rwxr-xr-xbin/__claude-code-notify7
1 files changed, 6 insertions, 1 deletions
diff --git a/bin/__claude-code-notify b/bin/__claude-code-notify
index 1495698..2d76b99 100755
--- a/bin/__claude-code-notify
+++ b/bin/__claude-code-notify
@@ -13,5 +13,10 @@ if [ "$(uname)" = "Darwin" ]; then
-e 'end run' \
-- "$message" "Claude Code" "$sound"
else
- notify-send "Claude Code" "$message"
+ if [ "$1" = "Stop" ]; then
+ sound=complete
+ else
+ sound=bell
+ fi
+ notify-send "Claude Code" "$message" --hint "string:sound-name:$sound"
fi