Commit | Line | Data |
---|---|---|
1 | #!/bin/sh | |
2 | #Show notification for each incomming message | |
3 | ANSW_MSG="$(echo "$ANSW_MSG" | sed -e 's/&/&\;/g;s/</\<\;/g;s/>/\>/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" |