On Thu, Apr 15, 2010 at 11:31:28PM -0400, Samuel Baldwin wrote:
> Currently it uses popen() to open a pipe to dmenu, which then sets an
> xproperty, which on update switches to the window matching that title.
> As you can imagine this is a little hackish and I'm not particularly
> proud of this, but it works for the most part and I figured other
> people may be willing to expand on the idea.

Instead of popen() you can use fcntl(or dup, or dup2) like inetd or
netcat -e.  Then you can both read and write.


Reply via email to