You are not logged in.
I've created my first little open source project (long overdue). It's a wrapper script that decorates OfflineIMAP's UI classes with notification sending for new mail, using Python's introspection facilities, before running offlineimap normally. See the man page for more info.
https://aur.archlinux.org/packages/offlineimap-notify/
Last edited by Raynman (2013-03-18 09:55:06)
Offline
This looks neat... I'll try it.
Offline
I just created an account to thank you for this awesome tool!
It doesn't notifies when offlineimap is in autorefresh mode tough.
Thanks!
Offline
Offlineimap-notify is working properly.
The problem was with my systemd service.
Offline
Excellent. This hits one of those little annoyances that's always seemed to never quite be worth fixing, for me. The only thing that it seems to be missing to me is the lack of a way to set the urgency of the notifications, which seems to be reasonably easy to fix (assuming I haven't missed anything obvious or otherwise done anything stupid):
EDIT: There was a patch here in a codebox, but it turns out that yes, I had done something stupid and it didn't actually work. I may or may not put a fixed version back up later.
Last edited by Wibjarm (2013-11-02 22:08:44)
Offline
Thanks, really useful. When running from cron I did have to add:
export XAUTHORITY=/home/$USER/.Xauthority ; export DISPLAY=:0
Offline
Excellent. This hits one of those little annoyances that's always seemed to never quite be worth fixing, for me. The only thing that it seems to be missing to me is the lack of a way to set the urgency of the notifications, which seems to be reasonably easy to fix (assuming I haven't missed anything obvious or otherwise done anything stupid):
EDIT: There was a patch here in a codebox, but it turns out that yes, I had done something stupid and it didn't actually work. I may or may not put a fixed version back up later.
Didn't look stupid at first glance; can't tell now. Anyway, I just pushed v0.5.1 to address this. For completeness' sake, I added a timeout setting as well.
Offline
It was just one of those mistakes that happen when you aren't paying attention (in this case, using "urgency" instead of "conf['urgency']") but still breaks things. Thanks for implementing urgency and timeouts properly!
Offline
Just gave this little fella a try and so far its working great!! Nice work there Raynman :-)
"A problem well stated is a problem half solved." - Charles Franklin Kettering
Offline
Thanks a lot for that script!
Offline