Re: [dwm] make setlayout toggle

From: Thayer Williams <>
Date: Tue, 4 Nov 2008 12:09:21 -0800

On Tue, Nov 4, 2008 at 9:13 AM, Neale Pickett <> wrote:
> This simple modification to setlayout causes a binding to toggle if it's
> already in the requested layout.
> Now Alt-M toggles in and out of Monocle, etc. I far prefer this
> behavior, YMMV.

This is a great idea and one I would have tried to implement if I knew
C, however for me it doesn't work as expected. Upon patching dwm.c the
behaviour of setlayout() remains unchanged. Mod-m activates monocle,
but pressing it a second time appears to do nothing.
Received on Tue Nov 04 2008 - 20:09:21 UTC

This archive was generated by hypermail 2.2.0 : Tue Nov 04 2008 - 20:12:04 UTC