[xmonad] Re: Tile all windows

Brent Yorgey byorgey at seas.upenn.edu
Wed Nov 5 09:32:12 EST 2008


On Wed, Nov 05, 2008 at 12:08:19PM +0000, Dougal Stanton wrote:
> On Wed, Nov 5, 2008 at 11:47 AM, Mauricio <briqueabraque at yahoo.com> wrote:
> 
> > I think this is the default behavior only
> > for "big windows". Dialogs (just tested with
> > 'about Firefox') are not tiled. I would like
> > all windows to be tiled -- even those that
> > should be better left as non-tiled.
> 
> Others might correct me, but that seems to be core functionality, in
> XMonad/Operations.hs:
> 
> manage :: Window -> X ()
> 
> It drops a new window into the current screen, floating it if it's
> fixed-size or hinted as transient.

You should still be able to tile everything with a manageHook, something like

  return True --> (ask >>= doF . W.sink)

Note the final line in the 'manage' action, 'windows (g . f)', which
runs the user's ManageHook (g) *after* the built-in handling (f).

-Brent


More information about the xmonad mailing list