Re: [wmii] Auto Layout

From: Kris Maglione <maglione.k_AT_gmail.com>
Date: Thu, 13 Nov 2008 15:25:33 -0500

On Thu, Nov 13, 2008 at 1:04 PM, Donny Jekels
<Donny.Jekels_AT_imc-chicago.com> wrote:
> Can anyone please get me started in the right direction, that would be
> great.

Well, unfortunately, it's not too easy. I suppose you'd write a script to open
them all and, when they're all open, read /tag/sel/index and send them all to
appropriate columns...

wmiir read /tag/sel/index | awk '
        function send(col) { print "send " $1 " " col }
        /foo/ { send(2) }
        /bar/ { send(3) }
        ' | sort -nt' ' +2 |
        wmiir xwrite /tag/sel/ctl

or something like that. The above is, of course, not tested.
Received on Thu Nov 13 2008 - 20:25:33 UTC

This archive was generated by hypermail 2.2.0 : Thu Nov 13 2008 - 20:36:06 UTC