Hey,
> Included is a pull request to add functionality to see a screen-like list of
> windows from spacebed using dmenu to spacebed-0.2.
I've been thinking about this problem since you posted your pull request, 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 pull requested Anselm's lsw to take an argument, the window of
which to list the children (it defaults to root). So in spacebed's
list() you just popen("lsw <spacebed's xid> | dmenu -l 5", "r") and
fgets the output. One function, no atoms.
Patches for lsw and spacebed attached.
Thanks,
cls
This archive was generated by hypermail 2.2.0 : Sat Apr 17 2010 - 01:24:01 UTC