#!/bin/sh
#Show notification for each incomming message
-notify-send "$ANSW_PROTOCOL:$ANSW_FROM" "$ANSW_MSG"
+ANSW_MSG="$(echo "$ANSW_MSG" | sed -e 's/&/&\;/g;s/</\<\;/g;s/>/\>/g')"
+[ -n "$ANSW_R_ROOM_NAME" ] && room="$ANSW_R_ROOM_NAME:" || room=''
+notify-send -i pidgin "$ANSW_PROTOCOL:$room$ANSW_R_ALIAS" "$ANSW_MSG"