better notification for chatrooms
[mirrors/libpurple-core-answerscripts.git] / purple / answerscripts.d / 00-notify.sh
... / ...
CommitLineData
1#!/bin/sh
2#Show notification for each incomming message
3ANSW_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=''
5notify-send -i pidgin "$ANSW_PROTOCOL:$room$ANSW_R_ALIAS" "$ANSW_MSG"
This page took 0.080263 seconds and 4 git commands to generate.