[xmonad] automatically generating template xmonad.hs if it
doesn't exist
Don Stewart
dons at galois.com
Fri Jan 4 13:23:52 EST 2008
daveroundy:
> On Jan 4, 2008 1:12 PM, Brent Yorgey <byorgey at gmail.com> wrote:
> > > 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 (?).
>
> Another possibility would simply be to only compile xmonad.hs if ghc
> is in the path. So the only runtime overhead of putting that
> xmonad.hs there (if ghc isn't installed) would be to check the PATH
> for ghc. Doesn't seem too onerous for those mythical users who are
> content with xmonad's default configuration.
Maybe it's also time to look at the default configuration, so
that more people are satisfied with it.
-- Don
More information about the xmonad
mailing list