Dwm-like swap function for xmonad.
Swaps focused window with the master window. If focus is in the master, swap it with the next window in the stack. Focus stays in the master.
You can use this module with the following in your
then add a keybinding or substitute
dwmpromote in place of promote:
, ((modm, xK_Return), dwmpromote)
For detailed instructions on editing your key bindings, see XMonad.Doc.Extending.