[xmonad] automatically generating template xmonad.hs if it doesn't exist

Brent Yorgey byorgey at gmail.com
Fri Jan 4 13:12:26 EST 2008

On Jan 3, 2008 8:19 PM, Don Stewart <dons at galois.com> wrote:

> allbery:
> >
> > On Jan 3, 2008, at 17:19 , Don Stewart wrote:
> >
> > >well, a lot of other apps don't put stub config files in, vim/mutt/ion
> > >etc. they instead document what needs to be done.
> >
> > As a counterexample, last I checked Pine did copy in a default config.
> So I'm open to the idea, but need a good story for how to
> avoid *requiring* ghc at runtime. At the moment, as soon as
> you create a config file, xmonad will try to compile it.
> If you never customise xmonad, then that runtime dependency isn't
> required. But maybe that doesn't matter?

Well, that's a good point. An idea to get around this easily would be to
copy the template to a file called something different (e.g.
xmonad.hs.customize-me) with a comment at the top saying to rename it to
xmonad.hs.  I really can't imagine there will be many (if any) users that
use xmonad without customizing it, though (?).

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/xmonad/attachments/20080104/a44d8489/attachment.htm

More information about the xmonad mailing list