Timer and Notification on OSX

Sun May 6, 2018

A long time ago when I spent most of my time on a linux laptop in school, I had many small utilities I used to help manage time. Since osx notifications are somewhat useful, although I mostly turn them off for everything, this small script helps a bunch:

#!/usr/bin/env bash
msg="Hey $1 from `date`"
sleep $1; osascript -e "display notification \"$msg\" with title \"Hey!\""