I am for having a second file, that Config.hs imports, which provides each option as a Maybe. so say GuiGeneratedConfig.hs could provide Just 8 for border width, and Config.hs would define border width as borderwidth=(phsedocode as I've forgoten the function) if ggborderwidth is a just, then ggborderwidth, else 7
<br>that way the user could in their Config.hs, put whatever they wanted, and it could be replaced in GuiGeneratedConfig.hs, without modifying the old Config.hs.<br><br>I think that hotkeys would be best done by concatinating gghotkeys, with a filter so that if gghotkeys conflicted, it would overwrite the event for that hotkey.
<br>I DO NOT think that the program that makes GuiGeneratedConfig.hs belongs in contrib, I think it should be an entirely separate executable.<br>Timothy.<br><br><div><span class="gmail_quote">On 9/17/07, <b class="gmail_sendername">
Xiao-Yong Jin</b> &lt;<a href="mailto:xj2106@columbia.edu">xj2106@columbia.edu</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Sam Walters &lt;<a href="mailto:sam.walters@gmail.com">sam.walters@gmail.com</a>&gt; writes:<br><br>&gt; On Fri, Sep 14, 2007 at 07:35:22PM -0400, Xiao-Yong Jin wrote:<br>&gt; :|&nbsp;&nbsp;It would be possible to make a GUI-based utility to
<br>&gt; :|&nbsp;&nbsp;configure some simple behaviours through some variables.<br>&gt; :|&nbsp;&nbsp;However, maintaining a Config.hs file is indispensable to<br>&gt; :|&nbsp;&nbsp;make xmonad highly configurable.<br>&gt;<br>&gt; I think there has been an unspoken assumption that having a configuration
<br>&gt; utility excludes having a user-modifiable Config.hs file.&nbsp;&nbsp;If the<br><br>I would like a utility that can modify an existing Config.hs<br>file.&nbsp;&nbsp;Probably, some special mark-ups in the file could<br>permit this.&nbsp;&nbsp;Something like the customize-* functions in
<br>Emacs would do.<br><br>Of course, it could also be a separated file.&nbsp;&nbsp;We could have<br>two configuration files.&nbsp;&nbsp;One is automatically generated by<br>the utility, and the other can be customized by the user.<br>Some programs also do that.
<br><br>&gt;<br>&gt; utility generates a fresh Config.hs instead of modifying<br>&gt; an existing one, you get the best of both worlds.&nbsp;&nbsp;The<br>&gt; user would have the choice of using the generated file,<br>&gt; modifying the generated file or using a file that came
<br>&gt; from another source.<br><br>In that case, you could only use that utility once, if you<br>want to modify it a bit.&nbsp;&nbsp;But I don&#39;t think that utility<br>is meant to be used only once.<br><br>&gt;<br>&gt;<br>&gt; Sam
<br>&gt;<br>&gt;<br>&gt; --<br>&gt; Do not spoil what you have by desiring what you have not; remember that what<br>&gt; you now have was once among the things you only hoped for.<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -- Epicurus
<br>&gt; _______________________________________________<br>&gt; Xmonad mailing list<br>&gt; <a href="mailto:Xmonad@haskell.org">Xmonad@haskell.org</a><br>&gt; <a href="http://www.haskell.org/mailman/listinfo/xmonad">http://www.haskell.org/mailman/listinfo/xmonad
</a><br>&gt;<br>&gt;<br><br>--<br>&nbsp;&nbsp;&nbsp;&nbsp;c/*&nbsp;&nbsp;&nbsp;&nbsp;__o/*<br>&nbsp;&nbsp;&nbsp;&nbsp;&lt;\&nbsp;&nbsp;&nbsp;&nbsp; * (__<br>&nbsp;&nbsp;&nbsp;&nbsp;*/\&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;<br>_______________________________________________<br>Xmonad mailing list<br><a href="mailto:Xmonad@haskell.org">Xmonad@haskell.org
</a><br><a href="http://www.haskell.org/mailman/listinfo/xmonad">http://www.haskell.org/mailman/listinfo/xmonad</a><br></blockquote></div><br><br clear="all"><br>-- <br>-<br>Tim<br><a href="mailto:tim.thelion@gmail.com">tim.thelion@gmail.com
</a>