[xmonad] Delete empty workspace on window closed

Brandon Allbery allbery.b at gmail.com
Wed Dec 26 01:14:45 CET 2012

On Tue, Dec 25, 2012 at 4:24 PM, Jeff Johnson <jefdaj at 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

brandon s allbery kf8nh                               sine nomine associates
allbery.b at gmail.com                                  ballbery at sinenomine.net
unix, openafs, kerberos, infrastructure, xmonad        http://sinenomine.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/xmonad/attachments/20121225/4362b381/attachment.htm>

More information about the xmonad mailing list