[sylpheed:36142] libnotify - Notifications

stef stef_204 at yahoo.com
Wed Aug 20 18:27:12 JST 2014


Hi,

Quick follow-up to my recent post.

I have the following script which Sylpheed runs fine upon receiving new emails:

sylph_notify.sh
notify-send -u normal "New Mail" -t 300000 && aplay /home/myusername/Media/Sounds/somesound.wav

This gets me the "New Mail" notification and the sound.

How do I pass arguments to display "Number of messages" (I did try '%d' but no joy yet), "From" and "Subject"?

Thanks.


More information about the Sylpheed mailing list