cinnamon-feeds-applet
cinnamon-feeds-applet copied to clipboard
Add sound alerts
I'm not sure if this is possible, but it would be great if we had the ability of setting sound alerts for new feeds. Notification alerts would be nice too.
But the way, this applet is incredibly useful for me. Thanks.
Glad the applet is useful for you.
Adding sound notifications is certainly possible and makes sense to implement in conjunction with the existing issue for pop-up notifications: #17
I'm not a huge fan of sound alerts, but since it has been requested twice, I guess we could implement it as an optional feature. Any ideas on how to do it?
We could try using paplay. It will allow notification sounds to be invoked via the command line.
Example: let notify_visual = 'notify-send -i ' + iconpath + ' "' + feedtitle + '" "' + itemtitle + '"'; let notify_audio = 'play sound.ogg'; GLib.spawn_command_line_async(notify_visual); GLib.spawn_command_line_async(notify_audio);