Re: [dev] tabbed-list patch

From: Connor Lane Smith <cls_AT_lubutu.com>
Date: Sat, 17 Apr 2010 01:20:54 +0000

Hey,

> Included is a patch to add functionality to see a screen-like list of
> windows from tabbed using dmenu to tabbed-0.2.

I've been thinking about this problem since you posted your patch, and
I only just got to a solution. It's a bit of a round-about one, but it
seems a little cleaner.

Basically I patched Anselm's lsw to take an argument, the window of
which to list the children (it defaults to root). So in tabbed's
list() you just popen("lsw <tabbed's xid> | dmenu -l 5", "r") and
fgets the output. One function, no atoms.

Patches for lsw and tabbed attached.

Thanks,
cls

Received on Sat Apr 17 2010 - 01:20:54 UTC

This archive was generated by hypermail 2.2.0 : Sat Apr 17 2010 - 01:24:01 UTC