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