Re: [dwm] cycling tags, again...

From: Sander van Dijk <a.h.vandijk_AT_gmail.com>
Date: Thu, 31 Aug 2006 12:18:45 +0200

On 8/31/06, Anselm R. Garbe <arg_AT_10kloc.org> wrote:
> You could also do
>
> j = random() % ntags;
> for(i = 0; i < ntags; i++)
> seltags[i] = i == j;

I think that's actually a good idea; maybe this should be included in main?

Gr. Sander.
Received on Thu Aug 31 2006 - 12:18:49 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 14:30:46 UTC