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

Reply via email to