Re: [wmii] dwm Zooms/cycles emulation on wmii

From: Ruben Gonzalez Arnau <ruben_AT_websbarcelona.com>
Date: Wed, 12 Mar 2008 10:28:26 +0100 (CET)

> Ruben Gonzalez Arnau wrote:
>> # dwm zoom/cycle emulation
>> fn dwmzoom {
>> curclinum=`{getclinum}
>> wmiir xwrite /tag/sel/ctl select down
>> nextclinum=`{getclinum}
>
> I suggest reading & parsing the index file (/tag/sel/index) and
> addressing clients by their unique ID in the "send" commands below.
> That way, your code will work even if {new clients appear / old
> clients disappear / clients move around} in the middle of execution.
>
>> wmiir xwrite /tag/sel/ctl send sel up
>
> wmiir xwrite /tag/sel/ctl send YOUR_CLIENT_ID_NUMBER up
>
>
Okey, lot of thanks :)
Received on Wed Mar 12 2008 - 10:28:58 UTC

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