After looking at http://surf.suckless.org/patches/searchengines
I realized this is a very handy feature if generalized. Ideally
parseuri should behave like dwm's keys/buttons. That is have a
function pointer that could be just some C code (like searchengines)
or call an external program like dmenu/xterm are called.
My idea for this external program is inspired by
http://code.google.com/p/autokey/ and
http://www.smileonmymac.com/TextExpander/ but suckless. And it should
work like dmenu (that is pass in a string, print to stdout a URI).
I'll be working on a set of commands for myselfs as I regularly need
to visit several sightly different URLs, if anyone is interested I'll
post that. However I'll probably do it in python as string building in
sane in there, so probably not up to suckless standars.
What do you think?
Received on Wed Dec 16 2009 - 23:24:09 UTC
This archive was generated by hypermail 2.2.0 : Wed Dec 16 2009 - 23:36:02 UTC