Re: [dwm] dwm-4.8 / dmenu-3.5 / slock-0.8

From: G David Modica <GDavidModica_AT_aaaHawk.com>
Date: Sun, 16 Mar 2008 14:51:49 -0400

On 08:52 Fri 14 Mar , Ralph E. Carter wrote:
>
>
> ----------------------------------------
> > Date: Fri, 14 Mar 2008 07:04:00 +0100
> > From: nszabolcs_AT_gmail.com
> > To: dwm_AT_suckless.org
> > Subject: Re: [dwm] dwm-4.8 / dmenu-3.5 / slock-0.8
> >
> > On 3/14/08, Ralph E. Carter wrote:
> >> Now I hope someone updates bottomstack for 4.8. Ideally, I want to cycle:
> >> vertical/horizontal/monocle.
> >
> > you don't need patch for that anymore, just edit config.h
> > use a setgeom like
> >
> > bottomstackgeoms(void) {
> > /* screen dimensions */
> > sx = 0;
> > sy = 0;
> > sw = DisplayWidth(dpy, screen);
> > sh = DisplayHeight(dpy, screen);
> >
> > /* bar position */
> > bx = sx;
> > by = sy;
> > bw = sw;
> > bh = dc.font.height + 2;
> >
> > /* window area */
> > wx = sx;
> > wy = sy + bh;
> > ww = sw;
> > wh = sh - bh;
> >
> > /* master area */
> > mx = wx;
> > my = wy;
> > mw = ww;
> > mh = 0.6 * wh;
> >
> > /* tile area */
> > tx = mx;
> > ty = my + mh;
> > tw = ww;
> > th = wh - mh;
> >
> > /* monocle area */
> > mox = wx;
> > moy = wy;
> > mow = ww;
> > moh = wh;
> > }
> >
> > with tileh (or tilev)
> >
>
> Thank you.
> Using config.anselm.h as a model of how to plug it in, the above
> worked perfectly on the first try.
>
> I am happy with this vertical/horizontal/monocle behavior.

+1

In config.h is there any way to make bottomstack the default.
Received on Sun Mar 16 2008 - 19:52:34 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 15:26:28 UTC