Contents

Description

Dynamically manage "workspace groups", sets of workspaces being used together for some common task or purpose, to allow switching between workspace groups in a single action. Note that this only makes sense for multi-head setups.

Synopsis

# Usage

import XMonad.Actions.DynamicWorkspaceGroups

Then add keybindings like the following (this example uses XMonad.Util.EZConfig-style keybindings, but this is not necessary):

   , ("M-y n", promptWSGroupAdd myXPConfig "Name this group: ")
, ("M-y g", promptWSGroupView myXPConfig "Go to group: ")
, ("M-y d", promptWSGroupForget myXPConfig "Forget group: ")

addRawWSGroup :: WSGroupId -> [(ScreenId, WorkspaceId)] -> X () Source #

Add a new workspace group of the given name, mapping to an explicitly specified association between screen IDs and workspace names. This function could be useful for, say, creating some standard workspace groups in your startup hook.

addWSGroup :: WSGroupId -> [WorkspaceId] -> X () Source #

Add a new workspace group with the given name.

Give a name to the current workspace group.

Delete the named workspace group from the list of workspace groups. Note that this has no effect on the workspaces involved; it simply forgets the given name.

View the workspace group with the given name.

Prompt for a workspace group to view.

Prompt for a name for the current workspace group.

Prompt for a workspace group to forget.

data WSGPrompt Source #

Instances
 Source # Instance detailsDefined in XMonad.Actions.DynamicWorkspaceGroups MethodsnextCompletion :: WSGPrompt -> String -> [String] -> String Source #modeAction :: WSGPrompt -> String -> String -> X () Source #