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