config

Personal configuration.
git clone git://code.dwrz.net/config
Log | Files | Refs

err (173B)


      1 #!/bin/sh
      2 
      3 time="$(date -u +'%Y-%m-%dT%H:%M:%S%:z')"
      4 
      5 echo "[${time}]: $*" >&2
      6 
      7 if [ -x "$(command -v notify-send)" ]; then
      8   notify-send --urgency=critical "ERROR" "$*"
      9 fi