Re: [dwm] New layout

From: yy <yiyu.jgl_AT_gmail.com>
Date: Wed, 2 Jul 2008 14:09:30 +0200

2008/7/2, Anselm R. Garbe <arg_AT_suckless.org>:
> Another thing:
>
> I don't think that the design of dwm fits well with the
> layouting concept of wmii. This is because dwm depends on the
> assumption that the layout algorithm in use is dynamic enough to
> deal with arbitrary amounts of windows which are singly-linked,
> whereas wmii basically has more high-level data structures to
> organize windows and assumes the column concept in its
> definition. Thus its layout algorithm is less dynamic
> unfortunately.
>
> An algorithm I have in mind is more dwm-wmii like is somethink
> like:
>
> AAAA BBBB
> AACCCCCCBB
> CCCCCC
> DDCCCCCCEE
> DDDD EEEE
>
> This layout only shows 5 windows at maximum, and it uses slight
> overlapping to achieve a better screen real estate, the amount
> of overlapping could depend on mfact. The focused window is C
> and any focusstack() action will end up in a re-arrange().
>
> C is always the list center. It scales for less than 5 windows
> as well.
>
> Just a random idea.
> --
> Anselm R. Garbe >< http://www.suckless.org/ >< GPG key: 0D73F361
>
>

Well, if we start with random ideas, I have one: we could have a new
lt[sellt]->restack (probably renamed to some better name I cannot
imagine now) and if it is NULL the floating behaviour will be used.
This way it would be easy to have layouts where focusstack rearrange
windows, or having a monocle where floating windows are resized.
Just an idea, but I would be glad to write tha patch if somebody finds
a better name than restack for the function.

-- 
- yiyus || JGL .
Received on Wed Jul 02 2008 - 14:09:34 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 15:52:58 UTC