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

From: Ralph E. Carter <vamosaverlas_AT_hotmail.com>
Date: Fri, 14 Mar 2008 08:52:11 -0400

----------------------------------------
> 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.
_________________________________________________________________
Enter the Zune-A-Day Giveaway for your chance to win day after day after day
http://www.windowslive-hotmail.com/ZuneADay/?locale=en-US&ocid=TXT_TAGLM_Mobile_Zune_V1
Received on Fri Mar 14 2008 - 13:52:43 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 15:25:57 UTC