Commit Graph

229 Commits

Author SHA1 Message Date
Alec Berryman
ede271f28b SimpleStacking: remove note about Xinerama incompatability, works fine now 2007-07-04 20:06:26 +00:00
Andrea Rossato
f412ea4a59 ScreenLayouts.hs: updates to the last API changes
A silent API change broke this nice piece of David's code: Spencer decided
to move screen details into StackSet, and there we went to manipulate them!
2007-07-03 20:11:45 +00:00
Spencer Janssen
52e6f1c210 More ScreenDetails fixes 2007-06-30 06:59:16 +00:00
Spencer Janssen
3b9723b5ae Make GreedyView work with ScreenDetails 2007-06-30 06:56:43 +00:00
l.mai
80366b0504 flexible resizing for floating windows
The default resize handler for floating windows warps the mouse pointer to
the bottom right corner of the window (fixing the opposite, upper left,
corner). This extension lets you use any of the four window corners as
grabbing points, allowing more flexible resizing.
2007-06-29 17:10:38 +00:00
David Roundy
69a55a44bf resolve conflicts in Decoration and Tabbed.
Note that you no longer need simpleStacking when using tabbed.
2007-06-29 20:45:18 +00:00
David Roundy
99217bf23f resolve conflict in Square. 2007-06-29 20:16:36 +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
30db557eb5 add CopyWindow module, to support sticky/tagged windows.
This module allows dwm-style tagging (as I understand dwm).  You can have a
given window visible in multiple workspaces.  If it's visible in two
workspaces both of which are visible, a gap will show up in one of them
(which is something that needs fixing in xmonad core).  Also defines a
kill1 which is like kill, but only removes from the current workspace a
window if it's in multiple workspaces.
2007-06-24 15:56:48 +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
91a286a9fd move Accordian to use idModify. 2007-06-23 14:37:45 +00:00
David Roundy
62a7deafd3 introduce idModify which is just "const (return Nothing)". 2007-06-23 14:35:42 +00:00
David Roundy
23c8610798 move Spiral to LayoutHelpers. 2007-06-23 14:35:16 +00:00
Jason Creighton
a5ee07b7d0 Note that SimpleStacking is incompatible with Xinerama
It's unclear to me what SimpleStacking is supposed to accomplish, so I'm just
going to note that it doesn't work with Xinerama. (Due to assuming that the
current workspace is the one being laid out)
2007-06-27 03:54:26 +00:00
Jason Creighton
614fec4e8b Tabbed: Make use of the Stack to get focused window 2007-06-27 03:39:10 +00:00
joachim.fasting
ab6d08aad0 Accordion.hs: whitespace.
Makes Haddock not complain about not finding documentation for '$'.
2007-06-26 07:14:49 +00:00
joachim.fasting
cb64b01697 MetaModule.hs: add LayoutHelpers.
Also tweaks import ordering slightly.
2007-06-26 06:55:22 +00:00
Andrea Rossato
bd050c396c Tabbed.hs: updated usage information 2007-06-25 14:07:35 +00:00
Andrea Rossato
fa57ef76df added configration options and moved font stuff to Decorations.hs
Added a new data type to keep configuration options. tabbed now takes the shrinker and the configuration
type.
Fixed a bug related to vertical alignment of text.
2007-06-25 14:01:12 +00:00
Andrea Rossato
3153e00d1f Decoration.hs: added automatic font managment
newDecoration now takes also a fontname to set fonts in decorations that use them.
If an empty string is send the the default Xorg fonts will be loaded.
2007-06-25 13:57:22 +00:00
David Roundy
6f2e4bc15c fix usage instructions on NoBorders. 2007-06-24 14:16:31 +00:00
daniel
c42e9d2e70 remove BackCompat.hs 2007-06-24 17:17:40 +00:00
joachim.fasting
74040cbaed Square.hs: put usage instructions after imports for Haddock compatibility. 2007-06-23 18:49:38 +00:00
joachim.fasting
54ab6158e4 Magnifier.hs: quote screenshot url for Haddock compatibility. 2007-06-23 22:32:27 +00:00
David Roundy
d8589bbf61 add new LayoutHelpers module. 2007-06-22 14:29:50 +00:00
joachim.fasting
f94ab30506 Add SinkAll module.
Provides a means of pushing all windows on the current workspace back into
tiling. Not all that useful, but might be preferable to restarting or manually
pushing windows.
2007-06-23 05:05:10 +00:00
joachim.fasting
ebd38ec6b8 Magnifier.hs: needs -fglasgow-exts to compile. 2007-06-22 11:14:42 +00:00
David Roundy
7b3ea2d5fa fix usage info for LayoutScreens. 2007-06-22 13:26:18 +00:00
David Roundy
2a5ac679ea add new LayoutScreens module. 2007-06-22 13:13:00 +00:00
Peter De Wachter
c5651117c2 Magnifier: raise the focus window 2007-06-21 19:25:41 +00:00
Peter De Wachter
b8b88134c5 Circle: raise the focus window 2007-06-21 19:12:07 +00:00
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