On Tue, Nov 4, 2008 at 9:13 AM, Neale Pickett <[EMAIL PROTECTED]> 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.