X-Git-Url: https://git.harvie.cz/?p=mirrors%2Flibpurple-core-answerscripts.git;a=blobdiff_plain;f=purple%2Fanswerscripts.d%2F00-notify.sh;fp=purple%2Fanswerscripts.d%2F00-notify.sh;h=504959f709b5a3ca7289405bcd1545fba0b8038f;hp=6d0117d1f9a98b2fbc789f0a3e2e3ae25fe8085b;hb=fc6b1b84823278e134efaf56536ab58eb205de2c;hpb=d66a447d3cac8a9a40225a421b67fab1ebb1742c diff --git a/purple/answerscripts.d/00-notify.sh b/purple/answerscripts.d/00-notify.sh index 6d0117d..504959f 100755 --- a/purple/answerscripts.d/00-notify.sh +++ b/purple/answerscripts.d/00-notify.sh @@ -1,4 +1,4 @@ #!/bin/sh #Show notification for each incomming message -which recode >/dev/null && ANSW_MSG="$(echo "$ANSW_MSG" | recode ascii..html)" +which recode >/dev/null && ANSW_MSG="$(echo "$ANSW_MSG" | recode ..html)" notify-send -i pidgin "$ANSW_PROTOCOL:$ANSW_R_NAME" "$ANSW_MSG"