GIT.Harvie.CZ
/
mirrors
/
libpurple-core-answerscripts.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
simplified recoding of entities for notify-send
[mirrors/libpurple-core-answerscripts.git]
/
purple
/
answerscripts.d
/
00-notify.sh
diff --git
a/purple/answerscripts.d/00-notify.sh
b/purple/answerscripts.d/00-notify.sh
index 021ef5aa2cec494902808c12c217f1429c976fb0..dc7033d7b8bf628757fe5ae646118209a8e0308e 100755
(executable)
--- a/
purple/answerscripts.d/00-notify.sh
+++ b/
purple/answerscripts.d/00-notify.sh
@@
-1,3
+1,4
@@
#!/bin/sh
#Show notification for each incomming message
#!/bin/sh
#Show notification for each incomming message
-notify-send "$ANSW_PROTOCOL:$ANSW_R_NAME" "$ANSW_MSG"
+ANSW_MSG="$(echo "$ANSW_MSG" | sed -e 's/&/&\;/g;s/</\<\;/g;s/>/\>/g')"
+notify-send -i pidgin "$ANSW_PROTOCOL:$ANSW_R_NAME" "$ANSW_MSG"
This page took
0.095072 seconds
and
4
git commands to generate.