Delete empty workspace on window closed

25 Dec
2012
25 Dec
'12
9:24 p.m.
How can I run removeEmptyWorkspace or removeEmptyWorkspaceAfter when a window is closed? Thanks Jeff

26 Dec
26 Dec
12:14 a.m.
On Tue, Dec 25, 2012 at 4:24 PM, Jeff Johnson
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
4574
Age (days ago)
4575
Last active (days ago)
1 comments
2 participants
participants (2)
-
Brandon Allbery
-
Jeff Johnson