Usage

This module provides helpers functions for use with XMonad.Layout.Groups-based
layouts. You can use its contents by adding

import XMonad.Layout.Groups.Helpers

to the top of your ./.xmonad/xmonad.hs.

XMonad.Layout.Groups-based layouts do not have the same notion
of window ordering as the rest of XMonad. For this reason, the usual
ways of reordering windows and moving focus do not work with them.
XMonad.Layout.Groups provides Messages that can be used to obtain
the right effect.

But what if you want to use both Groups and other layouts?
This module provides actions that try to send GroupsMessages, and
fall back to the classic way if the current layout doesn't hande them.
They are in the section called "Layout-generic actions".

The sections "Groups-specific actions" contains actions that don't make
sense for non-Groups-based layouts. These are simply wrappers around
the equivalent GroupsMessages, but are included so you don't have to
write sendMessage $ Modify $ ... everytime.

Move the focused window to the previous group. The Bool argument
determines what will be done if the focused window is in the very first
group: Wrap back to the end (True), or create a new group before
it (False).

Move the focused window to the next group. The Bool argument
determines what will be done if the focused window is in the very last
group: Wrap back to the beginning (True), or create a new group after
it (False).