darcs patch: new layout - OneBig

Hello Xmonad world! I wrote new window layout for xmonad. It places one (master) window at top left corner of screen (width and height of master window are parameters of layout), and other (slave) windows at bottom and at right of master. It tries to give each slave window equal amount of screen space. For example, with OneBig (3/4) (3/4) one will get something like this: http://iportnov.ru/files/xmonad-onebig.png If anyone can suggest better name for that layout, it would be fine :) WBR, Portnov.

Perhaps this layout could be generalized: give the master that fixed space, and lay out the others acoording to two layouts (Grid by default ?)? Another suggestion would be to add pureMessage to handle the Expand and Shrink messages so that the master can be resized (changing the supplied ratios) * On Friday, February 20 2009, portnov wrote:
Hello Xmonad world!
I wrote new window layout for xmonad. It places one (master) window at top left corner of screen (width and height of master window are parameters of layout), and other (slave) windows at bottom and at right of master. It tries to give each slave window equal amount of screen space.
For example, with OneBig (3/4) (3/4) one will get something like this: http://iportnov.ru/files/xmonad-onebig.png
If anyone can suggest better name for that layout, it would be fine :)
WBR, Portnov.

On 21 февраля 2009 02:26:52 Adam Vogt wrote: Hello.
Perhaps this layout could be generalized: give the master that fixed space, and lay out the others acoording to two layouts (Grid by default ?)? Hmm. It seems to me, that there will be too small space at right and at bottom of master window to run such layouts as Grid. Then, any layout runs in a rectangle, but here we have complex-shaped area... May be, this layout should include special logic for, say, (given width) <= 1/2 ?..
Another suggestion would be to add pureMessage to handle the Expand and Shrink messages so that the master can be resized (changing the supplied ratios) This is good suggestion, I think. I'll try to add such logic in my layout.
WBR, Portnov.

Hello. On 21 февраля 2009 02:26:52 Adam Vogt wrote:
Another suggestion would be to add pureMessage to handle the Expand and Shrink messages so that the master can be resized (changing the supplied ratios)
I add Shrink/Expand messages handling for this layout. WBR, Portnov.

On Sat, Feb 21, 2009 at 07:27:12PM +0500, portnov wrote:
Hello.
On 21 февраля 2009 02:26:52 Adam Vogt wrote:
Another suggestion would be to add pureMessage to handle the Expand and Shrink messages so that the master can be resized (changing the supplied ratios)
I add Shrink/Expand messages handling for this layout.
WBR, Portnov.
Fri Feb 20 22:26:34 YEKT 2009 portnov84@rambler.ru * OneBig_layout.dpatch Add the OneBig layout, which places one (master) window at top left corner of screen (width and height of master window are parameters of layout), and other (slave) windows at bottom and at right of master, trying to give equal space for each slave window.
Sat Feb 21 19:23:00 YEKT 2009 portnov84@rambler.ru * OneBig_resize.dpatch Add Shrink/Expand messages handling for OneBig layout.
Applied, thanks.
participants (3)
-
Adam Vogt
-
portnov
-
Spencer Janssen