diff options
Diffstat (limited to 'bin/__claude-code-notify')
| -rwxr-xr-x | bin/__claude-code-notify | 7 |
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 |
