Factor out xmonad.