Re: [wmii] Code Snippet view all clients on specific tag (idea)

From: Kris Maglione <jg_AT_suckless.org>
Date: Fri, 21 Mar 2008 23:38:03 -0400

allview=vall
fn addtag {
        wmiir ls /client | grep -v sel |
        while(c=`{read})
                wmiir xwrite /client/$c/tags +$1
}
fn deltag {
        wmiir ls /client | grep -v sel |
        while(c=`{read})
                wmiir xwrite /client/$c/tags -$1
}

fn Key-$MODKEY-F12 { addtag $allview }
fn Key-$MODKEY-Shift-F12 { deltag $allview }

-- 
Kris Maglione
Things equal to nothing else are equal to each other.
PGP: http://suckless.org/~jg/pubkey.pgp
SHA1 (pubkey.pgp) = 2d464f9dbb186bee6f4faa88e2f6c5802bcfd935
Received on Sat Mar 22 2008 - 04:38:19 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 16:38:36 UTC