X-Git-Url: http://git.harvie.cz/?a=blobdiff_plain;ds=sidebyside;f=purple%2Fanswerscripts.d%2F00-notify.sh;h=6d0117d1f9a98b2fbc789f0a3e2e3ae25fe8085b;hb=d66a447d3cac8a9a40225a421b67fab1ebb1742c;hp=33946e9457acbadfc566ef7d5d5aa0786df973fe;hpb=25b9f185500aa567009139efbf40db7130c734ee;p=mirrors%2Flibpurple-core-answerscripts.git diff --git a/purple/answerscripts.d/00-notify.sh b/purple/answerscripts.d/00-notify.sh index 33946e9..6d0117d 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 +which recode >/dev/null && ANSW_MSG="$(echo "$ANSW_MSG" | recode ascii..html)" notify-send -i pidgin "$ANSW_PROTOCOL:$ANSW_R_NAME" "$ANSW_MSG"