Skip to content

Instantly share code, notes, and snippets.

@presmihaylov
Created July 8, 2025 07:38
Show Gist options
  • Save presmihaylov/40e9943065bbe3d9b1f77dc6e1bc5c5a to your computer and use it in GitHub Desktop.
Save presmihaylov/40e9943065bbe3d9b1f77dc6e1bc5c5a to your computer and use it in GitHub Desktop.
Claude code notification on finish
#!/bin/bash
osascript -e 'tell application "System Events" to if (name of first application process whose frontmost is true) is not "Alacritty" then display notification "I finished my current task" with title "claude code" sound name "Funk"'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment