> 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 :)


Reply via email to