Re: [wmii] Solved: How to set default mode to max?

From: Alexis Hildebrandt <afh_AT_2drop.net>
Date: Tue, 9 Jan 2007 11:28:30 +0100

Hello Timo Benk on Thu, Dec 28, 2006 at 07:08:56PM CET, you wrote:
> Timo Benk wrote:
> > Is it possible to set the default layout to max mode instead of tiled?
> OK, i got it by myself:
>
> CreateTag)
> xwrite /tag/$parms/ctl colmode sel max

But this seems to work only for the first column created, all
subsequently created columns (e.g. via colrules) will render clients in
the default mode, which is tiled.

Is there already a way to set the default mode for newly created
columns?

If not generated 'CreateColumn' and 'DestroyColumn' events similar to
the 'CreateTag' and 'DestroyTag' events could be used to achieve the
desired behaviour.
As an example the attached patch sets the mode on every newly created
column to stack.

Greetz Alexis.

-- 
The expert at anything was once a beginner.
        -- Hayes

Received on Tue Jan 09 2007 - 11:29:01 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 16:17:49 UTC