Re: [dwm] NMASTER in dwm-4.5 (was a follow up to Tuncer)

From: Tuncer Ayaz <tuncer.ayaz_AT_gmail.com>
Date: Sat, 22 Sep 2007 23:36:35 +0200

On 9/22/07, Anselm R. Garbe <arg_AT_suckless.org> wrote:
> On Sat, Sep 22, 2007 at 05:24:23PM +0200, Tuncer Ayaz wrote:
> > On 9/22/07, Anselm R. Garbe <arg_AT_suckless.org> wrote:
> > > On Fri, Sep 21, 2007 at 11:29:57AM +0200, Tuncer Ayaz wrote:
> > > > On 9/21/07, Anselm R. Garbe <arg_AT_suckless.org> wrote:
> > > > > What is so difficult in porting dwm-4.3 tile() to dwm-4.5?
> > > >
> > > > Probably not much, but I don't have time to maintain a patch.
> > >
> > > You don't need to maintain a patch, just put the stuff into
> > > nmtile.c (see attached) and include it in config.h with moving
> > > some macros around (see attached patch file - which misses
> > > incnmaster shortcuts).
> >
> > thanks, gonna try that out as time permits.
> >
> > > > Btw, what is the preferred way to use a custom config.h with 4.5?
> > >
> > > ; cp config.h config.h.O
> > > ; vi config.h
> > >
> > > (Basically it is the same as tweaking config.mk now)
> >
> > the cool thing about the previous config.h handling was that config.h
> > was never touched on hg pull+up but I can live with having to copy
> > config.h away before I update from hg tip.
>
> That's true. But my intention is, that nobody needs to
> reconfigure dwm. It should just work perfectly for everyone.
>
> Honestly, if there are updates to config.h now, you *will*
> notice it, because of a hg conflict warning. In the past you had
> to check explicitely. And there were a bunch of people claiming
> in the chat that something was broken, because the config.h
> scheme changed somehow. This won't happen with the current
> scheme anymore, though maintaining private changes must be done
> with more care now.
>
> (I'm in the good position, that config.h is my personal
> configuration actually ;)))

Anselm, you convinced me back in the day to use dwm's
config for custom key bindings instead of using an
external grabber.

Moreover, color tastes and default value tastes differ.
Therefore, there will always be a need for me to
add/replace hotkey bindings:
I do replace Alt+B with Alt_Shift+B and replace the
terminal launcher and add my own hotkeys which I need
to be productive.

It should be possible to go back to the old
model and add some compile-error feature with each
incompatible config.h change for the people who
had problems. But wait, I thought dwm is for people
who know how to edit config.h, wasn't it :)
Received on Sat Sep 22 2007 - 23:36:36 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 14:54:41 UTC