Re: [wmii] slock XID patch

From: Chris King <colanderman_AT_gmail.com>
Date: Wed, 14 Nov 2007 15:53:34 -0500

On 11/14/07, bharder <bharder_AT_methodlogic.net> wrote:
> > > Anyone knows how to choose a random image file from a directory using an
> > > rc or shell script for use with the commands proposed by Chris?
> >
> > I was going to say: ls *.png *.jpg etc |shuf |sed q
> > But I don't /have/ shuf here. I wonder where it came from on my home
> > machine... GNU coreutils it seems, must have a newer version at home.
> > Anyway, shuf is not on my netbsd machine either so I wrote this naive
> > replacement:
>
> On NetBSD, shuffle(1).

Or "fortune <{ls}"... it's cross-platform ;)
Received on Wed Nov 14 2007 - 21:53:37 UTC

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