Re: [dwm] Move/Resize Via Keyboard (Was: beta dwm-5.0)

From: Anselm R. Garbe <>
Date: Wed, 11 Jun 2008 18:07:25 +0200

On Wed, Jun 11, 2008 at 10:16:40AM -0500, Kevin Monceaux wrote:
> On Wed, 11 Jun 2008, Enno "Gottox" Boland wrote:
> >dwm is keyboard driven. Except that moving windows in floating layout
> >can only be done by mouse. But adding this feature by hand should be
> >~10 lines of code.
> At best I'm a novice C programmer. I have no problem editing config.h to
> customize DWM but am on shaky ground beyond that. After my previous post
> I found a move/resize patch on that enables moving/resizing
> of floating windows via the keyboard. There is a 5.0 version of the patch
> but it fails when I try to apply it to the current DWM version from the
> Mercurial archive. Is 5.0 only available via Mercural? I couldn't find a
> 5.0 tarball on the sight.

See attached config.def.h patch which allows kb-driven resizals
and movements in hg tip (1266).

It uses Mod1-{Left,Right,Up,Down} for moving windows around, and
Mod1-Shift-{Left,Right,Up,Down} for resizing.

 Anselm R. Garbe >< >< GPG key: 0D73F361

Received on Wed Jun 11 2008 - 18:07:25 UTC

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