Delete empty workspace on window closed

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

25 Dec
25 Dec
7:14 p.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
4529
Age (days ago)
4530
Last active (days ago)
1 comments
2 participants
participants (2)
-
Brandon Allbery
-
Jeff Johnson