Re: [dwm] focusnext/prev

From: Anselm R. Garbe <arg_AT_suckless.org>
Date: Thu, 22 Feb 2007 15:30:08 +0100

On Thu, Feb 22, 2007 at 03:14:42PM +0100, pancake wrote:
> Why these two functions are separated ones?
>
> They share about 90% of code and receives no argument.
>
> IMHO they must be joined together into a "focus(1)" for next
> and "focus(-1)" for the previous one.

I implemented this.

> We can do something like focus(0) for selecting the first window of the list.
>
> Maybe, the algo can be enhaced (stupidly) to support to select N windows up,
> or N windows down.

Nah, that is too complex.
 
> About defaults in config.h I suggest to change some stuff:
> xterm -> xterm -bg black -fg gray
> ;; - white terms must be prohibited

Such things belong to Xresources, not to dwm...

> meta-tab, meta-shift-tab -> meta-j and meta-k

Nah, there have been discussions on the issue, use config.arg if
you want that.

> BORDERPX = 2

Nah, usual screen resolutions are around 1200x960 nowadays, 1px
suffices for them (actually I even use 1 in 1920x1200 still)

Regards,

-- 
 Anselm R. Garbe >< http://www.suckless.org/ >< GPG key: 0D73F361
Received on Thu Feb 22 2007 - 15:30:08 UTC

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