Powered by WordPress | Theme by mg12 | Valid XHTML 1.1 and CSS 3
  • todo.pl ratmenu

    broder has been hacking on some better quicksilver integration for Hiveminder using todo.pl.

    I don’t use a mac, but I don’t see why linux users shouldn’t get fun toys to. So I hacked up the following two-liner that uses todo.pl and ratmenu to pop up a list of tasks, and mark one as completed:

    #!/bin/sh
    todo.pl | perl -ne 'push @a,$2,"todo.pl done $1" if /^#([\w]+) (.+)$/;’ \
                   -e ‘END{exec(”ratmenu”,@a)}’
    

    I dropped it into my ~/bin and bound it to C-t x in my window manager (XMonad). I love it already.

    Tuesday, February 19th, 2008 at 23:46
No comments yet.

Leave a comment

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>
TOP