13 Commits

Author SHA1 Message Date
Alex Tarkovsky
d0adeca94a Docstring parser for generating xmonad build configs with default settings for extensions 2007-09-05 20:01:28 +00:00
David Roundy
be4a63dd2c fix bug in Combo where we ignored changes in super. 2007-08-13 14:35:00 +00:00
David Roundy
1d0ccb1abf clean up code in Combo.
This adds some type safety, since the super-layout is now of a distinct
type from the sublayouts.  This avoids the ugliness we had, of passing
"fake" windows to the super layout.  Now we directly lay out the layouts.
2007-06-24 17:13:46 +00:00
David Roundy
d3048ed615 make everything work with new doLayout.
This modifies all the contrib modules to work (so far as I know) with the
new contrib layout.  The exception is the LayoutHooks module, which isn't
used.  It exports an API that is inherently unsafe, so far as I can tell
(and always has been).
2007-06-23 21:09:52 +00:00
David Roundy
10f20c432e add SimpleStacking module to make Combo and Tabbed work together.
WARNING! This change will break existing Tabbed configurations.  The
problem is that there is no way within a Layout's "doLayout" to safely
modify the layout itself.  This makes LayoutHooks fragile, and more to the
point, makes SimpleStacking fragile, so we can't safely define a

tabbed' = simpleStacking . tabbed

A workaround would have been to duplicate the tabbed code, but I'd rather
leave the ugliness and get this fixed.
2007-06-21 15:15:24 +00:00
joachim.fasting
d1dfdf7abd Combo.hs: use case instead of non-standard pattern matching.
Also uses fmap/maybe instead of do/case, which makes the code look a little
cleaner (imo).
Please note that I've only been able to test this briefly, but it seems to be
working like it's supposed to.
2007-06-20 11:28:05 +00:00
joachim.fasting
cdd0df57ea Combo.hs: tweak usage instructions.
tabbed needs an additional argument.
2007-06-20 11:25:55 +00:00
joachim.fasting
88d77b244f Fix type signatures.
Think this fixes the rest of the errors caused by the Layout change.
2007-06-19 22:03:23 +00:00
David Roundy
c3158387c7 fix leak in Combo.
We leaked decorations, since UnDoLayout wasn't passed to the actual layouts
that had decorations attached.  :(
2007-06-16 19:10:52 +00:00
Andrea Rossato
0c5ee24dc0 Combo.hs: info and documentation 2007-06-14 14:37:00 +00:00
David Roundy
10fd36db47 changes to work with Stacks that can't be empty. 2007-06-12 15:12:09 +00:00
David Roundy
9d6fa84ea9 make combo sort of work with new doLayout.
For some reason (not entirely clear to me) this doesn't work properly just
yet with the tabbed layout.  :( But at least it'll compile.  The trouble is
that we have no way of tracking which tab ought to be visible without
adding a *lot* of infrastructure.  I'd rather have that infrastructure in
xmonad proper than reimplement all the focus-handling in combo, so for now
I'll just delay upgrading my xmonad at work...
2007-06-12 13:30:27 +00:00
David Roundy
5cb818c5c3 add new combo layout combiner. 2007-06-11 22:49:22 +00:00