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

From: Ruben Gonzalez Arnau <ruben_AT_websbarcelona.com>
Date: Sat, 22 Mar 2008 05:45:53 +0100

Kris Maglione wrote:
> 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 }
>
Uhmm, this is a better & cleaner way to do that.

Thank you!

-- 
Ruben Gonzalez Arnau
GPG key: 0x08AF5CD4 http://www.websbarcelona.com/ruben/0x08AF5CD4.asc
Received on Sat Mar 22 2008 - 05:46:28 UTC

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