Mon Feb 03, 2014 2:59 am
This is a limited list. For full options, run todo-fsr from a terminal.
Mon Feb 03, 2014 4:28 am
Mon Feb 03, 2014 5:41 am
Mon Feb 03, 2014 2:23 pm
Mon Feb 03, 2014 5:06 pm
#!/bin/bash
case "$1" in
resume)
# executed on resume
/usr/bin/taskfer-notify
;;
*)
;;
esac
set use_from = "yes"
set from = "[email protected]"
set smtp_url = "smtps://golinux:[email protected]:465/"
set ssl_force_tls = "yes"
ddt=$(date +%F)
if [[ $(type -p notify-send) ]] ; then
while read line ; do
if [[ -n $(echo $line | cut -d"|" -f2 | grep $ddt) ]] ; then
echo "$line" >> /tmp/mail.txt
fi
done < "$tasklist"
else
echo " You need to install the libnotify-bin package
for this function to work."
exit 1
fi
if [[ -f /tmp/mail.txt ]] ; then
notify-send -t 7000 "You have tasks listed for today. Check your todo list."
mutt -s "Today's Tasks" -a /tmp/mail.txt -- [email protected] < /dev/null
sleep 3
rm -f /tmp/mail.txt
fi
exit 0
Mon Feb 03, 2014 5:25 pm
fsmithred wrote:I question the wisdom of keeping your todo list on a computer that may be sleeping for weeks or months at a time . . .
Mon Feb 03, 2014 11:08 pm
fsmithred wrote:
@nadir: if you script the sshfs mount, add taskfer-notify to the end of the script. You might need to change the paths to the sourced files in the beginning of taskfer-notify.
Tue Feb 04, 2014 2:04 am
xfce4-terminal -e 'todo-fsr -l'
xfce4-terminal -e 'todo-fsr -wc'
Tue Feb 04, 2014 2:34 am
Tue Feb 04, 2014 3:40 am
$ todo-fsr -v
Taskfer/todo 0.05