# http://thorstenl.blogspot.com/2007/01/thls-irssi-notification-script.html
ssh -n riva irssi-notify-server | \
- sed -u 's/&/\&/g; s/</\</g; s/>/\>/g' | \
+ sed -u 's/&/\&/g; s/</\</g; s/>/\>/g; s/\\/\\\\/g' | \
while read heading message; do
case $heading in
.)
message="${message#* }"
imp="${message%% *}"
message="${message#* }"
- notify-send -i gtk-dialog-info -t 300000 -- \
+ notify-send -i gtk-dialog-info -t 0 -- \
"New LP bug $bug ($imp)" \
"<a href=\"https://launchpad.net/bugs/$bug\">$message</a>"
;;
*)
- notify-send -i gtk-dialog-info -t 300000 -- \
+ notify-send -i gtk-dialog-info -t 30000 -- \
"${heading}" "${message}"
;;
esac