Re: [dev] tabbed-list patch

From: anonymous <>
Date: Sat, 17 Apr 2010 03:43:49 +0400

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.
Received on Fri Apr 16 2010 - 23:43:49 UTC

This archive was generated by hypermail 2.2.0 : Fri Apr 16 2010 - 23:48:02 UTC