Shell timer
The Mac version for Sebastian Daschner’s simple bash timer (github.com/sdaschner/dotfiles/blob/master/bin/timer)
#!/bin/bash
if [[ "$1" == "" ]];
then echo "Usage: ${0##*/} [message]"
exit 1
fi
mins=$1
message=$2
echo "timer started for $mins min"
(sleep $(echo "$1 * 60" | bc) && osascript -e "display alert \"Timebox over for: $message!\"" > /dev/null) &