chiark / gitweb /
quick-and-dirty script to reverse the output of od
[bin.git] / notify-cmd
1 #! /bin/sh
2
3 $@
4 CODE="$?"
5 if [ "$CODE" = 0 ]; then
6         notify-send -t 10000 "$1 succeeded"
7 else
8         notify-send -t 10000 "$1 failed ($CODE)"
9 fi
10 exit $CODE