mirror of
https://github.com/xmonad/xmonad-contrib.git
synced 2025-05-19 03:20:21 -07:00
Export `removeEmptyWorkspaceByTag'
It looks like this function should have been exported all along but was overlooked.
This commit is contained in:
parent
217abc39a2
commit
be036f9bb9
@ -23,6 +23,7 @@ module XMonad.Actions.DynamicWorkspaces (
|
||||
removeWorkspace,
|
||||
removeWorkspaceByTag,
|
||||
removeEmptyWorkspace,
|
||||
removeEmptyWorkspaceByTag,
|
||||
removeEmptyWorkspaceAfter,
|
||||
removeEmptyWorkspaceAfterExcept,
|
||||
addHiddenWorkspace, addHiddenWorkspaceAt,
|
||||
@ -177,7 +178,7 @@ addWorkspaceAt add newtag = addHiddenWorkspaceAt add newtag >> windows (greedyVi
|
||||
addWorkspacePrompt :: XPConfig -> X ()
|
||||
addWorkspacePrompt conf = mkXPrompt (Wor "New workspace name: ") conf (const (return [])) addWorkspace
|
||||
|
||||
-- | Prompt for the name of a new workspace, appending it to the end of the list of workspaces
|
||||
-- | Prompt for the name of a new workspace, appending it to the end of the list of workspaces
|
||||
-- if it does not already exist, and switch to it.
|
||||
appendWorkspacePrompt :: XPConfig -> X ()
|
||||
appendWorkspacePrompt conf = mkXPrompt (Wor "New workspace name: ") conf (const (return [])) appendWorkspace
|
||||
|
Loading…
x
Reference in New Issue
Block a user