
26 Oct
2009
26 Oct
'09
4:06 a.m.
On Sat, Oct 24, 2009 at 12:18 AM, Rickard Nilsson
Den 2009-10-23 11:25:01 skrev Damian
: Hi,
I would like to keep firefox always as a main window, so that, for instance when I open the downloads window it will be shown as a small window. Is there any way to do this in xmonad?
I use the following ManageHook to do just this:
keepMaster :: String -> ManageHook keepMaster c = assertSlave <+> assertMaster where assertSlave = fmap (/= c) className --> doF W.swapDown assertMaster = className =? c --> doF W.swapMaster
Thank you all for your answers. I also added this, to my manage hooks: (doF W.swapDown) to prevent new windows from being open in the master pane. Regards, Damian.