Commit Graph

398 Commits

Author SHA1 Message Date
Peter De Wachter
f292474f20 Circle cleanups 2007-06-21 19:11:25 +00:00
David Roundy
13e2a456e9 make Mosaic lay thigs out a bit better. 2007-06-21 16:26:32 +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
Peter De Wachter
3f08632b37 Make Magnifier's master window behavior customizable
based on a suggestion by Tim Hobbs
2007-06-20 17:00:20 +00:00
joachim.fasting
8ed5dc82cf Whitespace. 2007-06-20 11:58:52 +00:00
Spencer Janssen
3ebba0776c Make Mosaic compile without warnings 2007-06-20 15:31:11 +00:00
David Roundy
8a78694d23 make some layouts more general. 2007-06-20 12:54:20 +00:00
joachim.fasting
63023902d2 Mosaic.hs: get rid off some of the warnings generated by -Wall.
Unused definitions and imports left in, as I assume they'll be used for
something later on.
2007-06-20 12:34:49 +00:00
joachim.fasting
6b1897037d MetaModule.hs: add LayoutHooks. 2007-06-20 11:54:57 +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
8c7335b55c README: change reference to 'examples/'. 2007-06-20 09:37:53 +00:00
Shachaf Ben-Kiki
013e4cfd62 Use Data.Ord.comparing in DynamicLog
This patch replaces (compare `on`) with Data.ord.comparing, so on doesn't have
to be defined.
2007-06-20 01:10:16 +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
joachim.fasting
02f70419eb MagicFocus.magicFocus: fix type signature.
Layout change caused because of missing type argument.
2007-06-19 21:48:39 +00:00
joachim.fasting
9eb3cc0dde LayoutHooks.hs: add module header. 2007-06-19 20:45:04 +00:00
Shachaf Ben-Kiki
4345709445 Factor out pprWindowSet (and Xinerama version) from dynamicLog.
This patch lets you pretty-print a WindowSet to a string, rather than always
printing it out to stdout directly.
2007-06-19 18:36:57 +00:00
David Roundy
73d1c8d317 clean up TwoPane to work on Stacks as it ought. 2007-06-19 15:09:28 +00:00
joachim.fasting
f650b2c4f3 run-xmonad.sh: don't hard-code path to mkfifo.
mkfifo isn't located in /sbin on all distributions (Gentoo puts it in /bin).
By temporarily appending /sbin to PATH both setups are supported.
'which' and friends are not viable options since /sbin usually isn't in
user's PATH by default.
2007-06-19 12:42:12 +00:00
joachim.fasting
da5e7b9e2a Anneal.hs: add module header. 2007-06-19 00:28:49 +00:00
joachim.fasting
53569827b4 run-xmonad.sh: use $HOME when setting PATH. 2007-06-18 23:47:03 +00:00
joachim.fasting
0f4d83c6ca Circle.hs: only compute sqrt 2 once. 2007-06-18 23:20:51 +00:00
joachim.fasting
9715298a0e Magnifier.hs: add usage instructions. 2007-06-18 21:22:15 +00:00
joachim.fasting
d9f0ccaea7 MagicFocus.hs: add module header and usage instructions. 2007-06-18 20:54:21 +00:00
joachim.fasting
977769cadc MagicFocus.magicFocus: add type signature. 2007-06-18 20:52:22 +00:00
joachim.fasting
6dccb57c87 Accordion.hs: add module header and usage instructions. 2007-06-18 19:36:26 +00:00
joachim.fasting
005369bb13 LayoutHints.hs: add usage thingie for Haddock. 2007-06-18 14:32:34 +00:00
joachim.fasting
09305f7f2f LayoutHints.hs: add module header. 2007-06-18 14:30:59 +00:00
joachim.fasting
5b32c80dd1 Dzen.hs: add module header. 2007-06-18 14:29:15 +00:00
joachim.fasting
348f3f8b46 MetaModule.hs: correct module header. 2007-06-18 19:19:05 +00:00
Spencer Janssen
e344fc8cdc Remove all references to exec 2007-06-18 20:16:52 +00:00
Spencer Janssen
a64cfc9722 Add Accordion to MetaModule 2007-06-18 19:05:26 +00:00
glasser
0f929af747 Add an "accordion" layout which puts non-focused windows in ribbons at the top and bottom of the screen. 2007-06-18 15:39:43 +00:00
joachim.fasting
b8edd5997f RotView.rotView: use Data.Ord.comparing.
Looks a bit cleaner than '\x y -> compare (tag x) (tag y)'
2007-06-18 14:45:02 +00:00
David Roundy
517e3417a7 shrink window names to fit tabs. 2007-06-17 15:23:40 +00:00
Andrea Rossato
0b86826b77 Tabbed.hs: fixed centerText issues and some binding shadowing warnings
This patch fixes the centerText issue due to the inappropriate use of
textExtends and textWidth. Those functions need a FontStruct id to
operate, and this cannot be retrieved with queryFont (see comments in
Graphics.X11.Xlib.Font).
So we now get the FontStruct with loadQueryFont, we set the default
Xorg fonts and we calculate things for (vertical and horizontal)
centering.
It also removes some binding shadows compiler warnings
2007-06-17 10:42:19 +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
Spencer Janssen
83c163d88a Typo 2007-06-17 00:09:24 +00:00
Spencer Janssen
b0596a520c Comment only 2007-06-17 00:08:05 +00:00
Spencer Janssen
b1715afbc2 Import typo 2007-06-14 21:13:37 +00:00
Peter De Wachter
ecbb6fa15a Magnifier layout hack
This layout hack increases the size of the window that has focus (the master
window excepted). This causes it to overlap with nearby windows, so not for
tiling purists :)

Screenshot: http://caladan.rave.org/magnifier.png
2007-06-14 20:32:19 +00:00
Spencer Janssen
c8bfda92a7 Use Haskell '98 data declaration rather than GADT-style 2007-06-14 20:52:11 +00:00
Andrea Rossato
3d8e47448f WorkspaceDir.hs: info and documentation 2007-06-14 14:44:43 +00:00
Andrea Rossato
37415487a0 Warp.hs: info and documentation 2007-06-14 14:44:26 +00:00
Andrea Rossato
38e813c98d TwoPane.hs: info and documentation 2007-06-14 14:44:09 +00:00
Andrea Rossato
41658c800c Submap.hs: info and documentation 2007-06-14 14:43:48 +00:00
Andrea Rossato
56fd6045d9 Square.hs: info and documentation 2007-06-14 14:43:17 +00:00
Andrea Rossato
59a9164764 Spiral.hs: info and documentation 2007-06-14 14:43:00 +00:00
Andrea Rossato
fc86c87487 SimpleDate.hs: info and documentation 2007-06-14 14:42:41 +00:00
Andrea Rossato
399b955eb6 RotView.hs: info and documentation 2007-06-14 14:42:25 +00:00