#!/bin/sh title=$1 shift msg="$*" echo "$title $(printf "\033[0m")$msg" hook alert $title "$msg"