Skip to content

Latest commit

 

History

History
12 lines (9 loc) · 402 Bytes

speak_when_long_running_job_is_done.md

File metadata and controls

12 lines (9 loc) · 402 Bytes

Speak when long running job is done

#!/bin/bash
/usr/bin/osascript -e "display notification \"$*\" with title \"Hey!\""
/usr/bin/say -v Alex "Hey! $*"

# Setup: Add this to your /usr/local/bin in a file called hey. chmod +x it to make it an executable.
# Usage: sleep 2 && hey wake up!