Create FUNDING.yml
[mirrors/libpurple-core-answerscripts.git] / purple / answerscripts.d / 00-notify.sh
1 #!/bin/sh
2 #Show notification for each incomming message
3 ANSW_MSG="$(echo "$ANSW_MSG" | sed -e 's/&/&amp\;/g;s/</\&lt\;/g;s/>/\&gt;/g')"
4 [ -n "$ANSW_R_ROOM_NAME" ] && room="$ANSW_R_ROOM_NAME:" || room=''
5 notify-send -i pidgin "$ANSW_PROTOCOL:$room$ANSW_R_ALIAS" "$ANSW_MSG"
This page took 0.22581 seconds and 4 git commands to generate.