[Vimoutliner] conky, todos
Scott Scriven
vimoutliner at toykeeper.net
Fri Nov 10 13:30:49 EST 2006
So, I've been keeping some TODO items in VO. And I recently
discovered conky, a system monitor similar to gkrellm or
superkaramba.
I tried putting these together, and found it works pretty well.
I have a script generate a plain text file every minute or so
based on my todo.otl, and conky then updates the copy displayed
as part of my wallpaper.
It's a really simple, almost trivial script, but I like the
results...
#!/bin/sh
while true ; do
grep '[_]' $HOME/todo.otl \
| perl -ne 's/\t/ /g; s/\[_\]/-/; s/- (\d\d+)%/+ \1%/; print if (/<--/) or (not /^ /);' \
> $HOME/.todo.conky
sleep 60
done
The script converts tabs to two spaces, replaces "[_]"'s with
"-"'s or "+"'s depending on the completion percentage, filters
out finished and non-checkbox items, and filters out everything
deeper than two levels (unless it has a "<--" in it, marking it
as important).
So, as I update my todo list, the summarized version on my
desktop updates automatically, hiding completed tasks and
details.
-- Scott
More information about the VimOutliner
mailing list