On Tue, Dec 25, 2012 at 4:24 PM, Jeff Johnson <jefdaj@gmail.com> wrote:
How can I run removeEmptyWorkspace or removeEmptyWorkspaceAfter when a window is closed?
Thanks

Either a layout modifier using the emptyLayout hook (only works if it's the current workspace), or by watching for deleteWindow and possibly unmapWindow events in the handleEventHook and checking if the workspace is empty.

--
brandon s allbery kf8nh                               sine nomine associates
allbery.b@gmail.com                                  ballbery@sinenomine.net
unix, openafs, kerberos, infrastructure, xmonad        http://sinenomine.net