X-Git-Url: http://git.harvie.cz/?a=blobdiff_plain;ds=inline;f=purple%2Fanswerscripts.d%2F00-notify.sh;h=dc7033d7b8bf628757fe5ae646118209a8e0308e;hb=c3eb58d2228fa552ce59aa84c8fc38b5dd842116;hp=3008282de8a1d38e88a3d5b27f62ffde0cc09e7a;hpb=bdf0d77f9057b89b80d15a529db05016e4eefe2c;p=mirrors%2Flibpurple-core-answerscripts.git diff --git a/purple/answerscripts.d/00-notify.sh b/purple/answerscripts.d/00-notify.sh index 3008282..dc7033d 100755 --- a/purple/answerscripts.d/00-notify.sh +++ b/purple/answerscripts.d/00-notify.sh @@ -1,3 +1,4 @@ #!/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')" +notify-send -i pidgin "$ANSW_PROTOCOL:$ANSW_R_NAME" "$ANSW_MSG"