Re: [dwm] stacked cpt patch updated!

From: Antony Jepson <antonyat_AT_gmail.com>
Date: Sun, 25 Nov 2007 22:05:44 -0500

pancake,

Yes, I am using the latest version. dwm.o is not present in the build
dir before I compile dwm.

I'm not sure what is causing the problem.

Sincerely,

Antony Jepson.

On Nov 26 03:36, pancake wrote:
> Did you downloaded the latest version?
>
> http://news.nopcode.org/nmaster-4.7.c
>
> remember to remove dwm.o before typing 'make'.
>
> --pancake
>
> On Sun, 25 Nov 2007 21:14:40 -0500
> Antony Jepson <antonyat_AT_gmail.com> wrote:
>
> > pancake,
> >
> > The new stacking patch seems to display my stacked terminals
> > erroneously. Take a look at the screenshots, specifically at the bottom
> > of the screen. Dotfiles you may be interested in are located here:
> > http://www.suckless.org/hg.rc/dextra/file/bfcca61b8fea/antony/
> >
> > http://omploader.org/vN2Jv/1.png
> > http://omploader.org/vN2Jv/2.png
> >
> > I can't really describe it beyond showing you.
> >
> > Sincerely,
> >
> > Antony Jepson.
> >
> > On Nov 26 01:36, pancake wrote:
> > > I have updated the patch again fixing the 1 pixel gap and the height calculation
> > > of slave area clients. Now it looks pretty perfect. The setcpth function has been
> > > set cleaner by limitting the maximum and minimum sizes for the bottom stack area.
> > >
> > > I have also updated the documentation with some ascii stuff:
> > >
> > > http://news.nopcode.org/nmaster-4.7.c
> > >
> > > TITLE
> > > -----
> > > descrp: ntile/tilecols layouts with clientspertag for dwm-4.7
> > > author: pancake <youterm.com>
> > > update: 2007-11-26
> > >
> > >
> > > CONFIGURATION
> > > -------------
> > > You should modify your config.h to include "nmaster.c" AFTER setting
> > > the NMASTER, NCOLS, NROWS, BORDERPX, and RESIZEHINTS macro definitions
> > > and BEFORE the layouts definition.
> > >
> > > A sample configuration with ntile will be:
> > >
> > > #define NMASTER 1
> > > #define NCOLS 1
> > > #define NROWS 1
> > > #define CPTH 32
> > > #include "nmaster-4.7.c"
> > >
> > > Layout layouts[] = {
> > > { "-|=" , ntile },
> > > // ...
> > > };
> > >
> > > // keys
> > > { MODKEY|ShiftMask , XK_j , setnmaster , "+1" } , \
> > > { MODKEY|ShiftMask , XK_k , setnmaster , "-1" } , \
> > > { MODKEY , XK_q , clientspertag ,"^1" } , \
> > > { MODKEY , XK_w , clientspertag , "2" } , \
> > > { MODKEY , XK_e , clientspertag , "3" } , \
> > > { MODKEY , XK_n , setcpth , "+32" } , \
> > > { MODKEY|ShiftMask , XK_n , setcpth , "-32" } , \
> > >
> > >
> > > clientspertag:
> > >
> > > both of them features the new cpt patch (clients per tag) which enables
> > > to define the maximum number of clients you want to focus, the rest are
> > > stacked at the bottom of the screen. This area has CPTH height and this
> > > value can be changed on the fly using the setcpth function.
> > >
> > > +------+----+
> > > | | | Valid values are:
> > > | |----| -1 - show all clients
> > > | | | 0 - show all clients in the bottom stack area
> > > +---+--^+---+ >0 - show N clients
> > > +---+---+---+
> > >
> > > #define CPTH 32 // num of pixels of the height of the stacked cpt area
> > >
> > > { MODKEY , XK_q , clientspertag ,"^1" } , \
> > > { MODKEY , XK_w , clientspertag , "2" } , \
> > > { MODKEY , XK_e , clientspertag , "3" } , \
> > > { MODKEY , XK_r , clientspertag , "4" } , \
> > > { MODKEY , XK_t , clientspertag , "5" } , \
> > >
> > > { MODKEY , XK_n , setcpth , "+32" } , \
> > > { MODKEY|ShiftMask , XK_n , setcpth , "-32" } , \
> > >
> > > This source adds two new layouts:
> > >
> > > ntile:
> > >
> > > +-----+--+
> > > |_____|--|
> > > | |--|
> > > +-----+--+
> > >
> > > #define NMASTER 1
> > >
> > > { "-|=" , ntile } , \
> > >
> > > { MODKEY|ShiftMask , XK_j , setnmaster , "+1" } , \
> > > { MODKEY|ShiftMask , XK_k , setnmaster , "-1" } , \
> > >
> > >
> > > tilecols:
> > >
> > > +--+--+--+
> > > |__| |__|
> > > | | | |
> > > +--+--+--+
> > >
> > > #define NCOLS 2
> > > #define NROWS 1
> > >
> > > { "E|]" , tilecols } , \
> > >
> > > { MODKEY|ShiftMask , XK_j , setnrows , "+1" } , \
> > > { MODKEY|ShiftMask , XK_k , setnrows , "-1" } , \
> > > { MODKEY|ShiftMask , XK_h , setncols , "+1" } , \
> > > { MODKEY|ShiftMask , XK_l , setncols , "-1" } , \
> > >
> > > --pancake
> >
>
>
> --pancake

Received on Mon Nov 26 2007 - 04:05:51 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 15:08:11 UTC