lsw seems to print the clients' names in reverse chronological order by access time. So if you change it to something like "lsw <xid> | tac | dmenu -l 5" the top should always be the current tab, and so on down.
On another note, to make it able to uniquely identify a window, rather than using a name, how about prefixing the window name with its xid? (Could be in hex, which is neater.) That would involve hacking lsw a little more though. cls On 17/04/2010, Samuel Baldwin <[email protected]> wrote: > Although a notion of order would be nice, not sure how to make lsw retain > that. > > -- > Samuel Baldwin - logik.li > >
