#!/bin/sh # note: notify-send is required, see libnotify-bin # XXX do not notify if notification source has focus delay="3000" read line summary="$line" read line msg="$line" read line #if [ "$line" = "" ] ; then [ -x "$(which notify-send)" ] && notify-send -i gtk-dialog-info -t "$delay" -- "$summary" "$msg" #fi