[Vimoutliner] conky, todos

Noel Henson noel at noels-lab.com
Tue Nov 14 14:05:40 EST 2006


Scott,

Can you provide a bit more information on the integration of VO and Conky?

Noel

On Friday 10 November 2006 10:30, Scott Scriven wrote:
> 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
> _______________________________________________
> VimOutliner mailing list
> VimOutliner at vimoutliner.org
> http://www.lists.vimoutliner.org/mailman/listinfo/vimoutliner

-- 

------------------------------------------------------------------
  Noel Henson
  www.noels-lab.com	Chips, firmware and embedded systems
  www.vimoutliner.org	Work fast. Think well.



More information about the VimOutliner mailing list