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

Brandon S. Allbery KF8NH allbery at ece.cmu.edu
Thu Jan 3 20:30:32 EST 2008


On Jan 3, 2008, at 20:19 , Don Stewart 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?

I am inclined to think that, unless we provide some common "canned"  
configurations precompiled (e.g. ManageDocks + EwmhWindows for people  
who want to use panels) or some way to build such configurations  
without recompiling, users *will* do runtime configuration that  
requires ghc.

-- 
brandon s. allbery [solaris,freebsd,perl,pugs,haskell] allbery at kf8nh.com
system administrator [openafs,heimdal,too many hats] allbery at ece.cmu.edu
electrical and computer engineering, carnegie mellon university    KF8NH




More information about the xmonad mailing list