[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [STUMP] Challenge: make this frame layout!
From: |
Philippe Brochard |
Subject: |
Re: [STUMP] Challenge: make this frame layout! |
Date: |
Thu, 25 Sep 2008 14:35:30 +0200 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux) |
John Li writes:
> On Wed, Sep 24, 2008 at 11:59:49PM -0400, Pierre-Paul Paquin wrote:
>> Hello StumpWM fellows,
>>
>> Is it possible to have a five-frame layout like the following? How do you do
>> it?
>> (monospace font required)
>>
>> +---+-------+
>> | | |
>> | +---+---+
>> | | | |
>> +---+---+ |
>> | | |
>> +-------+---+
>
> No, I'm fairly certain that's impossible, even by manually editing a dumped
> layout, since stump's frames are arranged as trees. The closest you could get
> is:
>
>> +---+---+---+
>> | | | |
>> | +---+---+
>> | | | |
>> +---+---+ |
>> | | |
>> +-------+---+
>
> (or something similar).
>
> Do other tiling window managers let you make something like you want? I can't
> really imagine a straight-forward interface to get a layout like that.
>
Here is another more precise one with CLFSWM created with a dedicated
function:
http://hocwp.free.fr/temp/bizarre-layout.png
--------------------------------------------------
(defun bizarre-layout ()
"Create frames to have a bizarre layout"
(when (frame-p *current-child*)
(add-frame (create-frame :x 0 :y 0 :w 1/3 :h 2/3) *current-child*)
(add-frame (create-frame :x 1/3 :y 0 :w 2/3 :h 1/3) *current-child*)
(add-frame (create-frame :x 2/3 :y 1/3 :w 1/3 :h 2/3) *current-child*)
(add-frame (create-frame :x 0 :y 2/3 :w 2/3 :h 1/3) *current-child*)
(add-frame (create-frame :x 1/3 :y 1/3 :w 1/3 :h 1/3) *current-child*))
(leave-second-mode))
--------------------------------------------------
But I don't know what can be the usage of this layout :)
Regards,
Philippe
--
Philippe Brochard <address@hidden>
http://hocwp.free.fr