Re: [dwm] {V,H}RATIO

From: pancake <pancake_AT_youterm.com>
Date: Thu, 9 Aug 2007 15:08:56 +0200

Hi, i have finally patched my dwm with the latests mercurial
changes. and this is my config:

        { MODKEY, XK_h, inchratio, ".1" }, \
        { MODKEY, XK_l, inchratio, "-.1" }, \
        { MODKEY|ShiftMask, XK_h, inchratio, ".2" }, \
        { MODKEY|ShiftMask, XK_l, inchratio, "-.2" }, \
        { MODKEY|ControlMask, XK_j, incvratio, "-.1" }, \
        { MODKEY|ControlMask, XK_k, incvratio, ".1" }, \
        { MODKEY|ShiftMask, XK_j, incnmaster, "1" }, \
        { MODKEY|ShiftMask, XK_k, incnmaster, "-1" }, \

The acceleration with inchratio is really soft and cool . Nice hit. But i would like
to be able to make the masterw smaller than the possible with the inchratio approach.

These limits makes dwm look more claustrofobic. :)

But i hardly dislike the incvmaster failsafe that makes clients dissapear from
the view. This breaks the dwm basics and makes the environment more confusing.

 I would remove this. or at least make it optional, but adopting the clientspertag
patch youll get a similar effect without collateral damages and with a more flexible
approach. Please consider it.

--pancake

On Thu, Aug 09, 2007 at 02:19:50PM +0200, pancake wrote:
> > Well I currently think about shortcuts to the desired
> > functionality. Currently we have inchratio() bound to
> > Mod1-{h,l}, and Mod1-{j,k} for up/down navigation. This feels
> > convenient, even if it breaks consistency. Besides this, there
> > is Mod1-Shift-{j,k} for dec-/incrementing nmaster.
> >
>
> Nice feature! i've not tested yet.
>
> tomorrow i've 20h of travel , so i'll have time during the fly :)
>
> but the idea looks good and seems simple, interesting and useful.
>
> > However, with dwm-4.4 we will have the vertical ratio as well,
> > and I believe it is a better idea to have two distinct
> > functions.
> >
> > Hence, I propose the following:
> > Mod1-Shift-{h,l} -> inchratio() inc dec
> > Mod1-Shift-{j,k} -> incvratio() inc dec
>
> This configuration colides with the inc/dec nmaster keybindings
>
> The mod1-shift-{h,l} keys i use them to inc/dec hratio in a bigger
> proportion than mod1-{h,l}, but this is ok. i can live without them,
> or i'll think another keys for this.
>
> > I tested this proposal for a couple of minutes and it doesn't
> > feels bad, at least not worse than before. I also think that
> > changing the ratio is usually a rare operation.
> >
> > Any complains?
>
> /me waiting for the 4.4 release :)
>
> --pancake
>
Received on Thu Aug 09 2007 - 13:25:56 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 14:48:18 UTC