mirror of
https://github.com/xmonad/xmonad-contrib.git
synced 2025-08-11 02:02:11 -07:00
FindEmptyWorkspace: haddock updates
This commit is contained in:
@@ -8,7 +8,7 @@
|
|||||||
-- Stability : unstable
|
-- Stability : unstable
|
||||||
-- Portability : unportable
|
-- Portability : unportable
|
||||||
--
|
--
|
||||||
-- Find an empty workspace in XMonad.
|
-- Find an empty workspace.
|
||||||
--
|
--
|
||||||
-----------------------------------------------------------------------------
|
-----------------------------------------------------------------------------
|
||||||
|
|
||||||
@@ -29,22 +29,20 @@ import XMonad.Operations
|
|||||||
|
|
||||||
-- $usage
|
-- $usage
|
||||||
--
|
--
|
||||||
-- To use, modify your Config.hs to:
|
-- To use, import this module into your @~\/.xmonad\/xmonad.hs@:
|
||||||
--
|
--
|
||||||
-- > import XMonad.Actions.FindEmptyWorkspace
|
-- > import XMonad.Actions.FindEmptyWorkspace
|
||||||
--
|
--
|
||||||
-- and add a keybinding:
|
-- and add the desired keybindings, for example:
|
||||||
--
|
--
|
||||||
-- > , ((modMask, xK_m ), viewEmptyWorkspace)
|
-- > , ((modMask, xK_m ), viewEmptyWorkspace)
|
||||||
-- > , ((modMask .|. shiftMask, xK_m ), tagToEmptyWorkspace)
|
-- > , ((modMask .|. shiftMask, xK_m ), tagToEmptyWorkspace)
|
||||||
--
|
--
|
||||||
-- Now you can jump to an empty workspace with mod-m. Mod-shift-m will
|
-- Now you can jump to an empty workspace with @mod-m@. @Mod-shift-m@
|
||||||
-- tag the current window to an empty workspace and view it.
|
-- will tag the current window to an empty workspace and view it.
|
||||||
|
--
|
||||||
-- %import XMonad.Actions.FindEmptyWorkspace
|
-- For detailed instructions on editing your key bindings, see
|
||||||
-- %keybind , ((modMask, xK_m ), viewEmptyWorkspace)
|
-- "XMonad.Doc.Extending#Editing_key_bindings".
|
||||||
-- %keybind , ((modMask .|. shiftMask, xK_m ), tagToEmptyWorkspace)
|
|
||||||
|
|
||||||
|
|
||||||
-- | Find the first hidden empty workspace in a StackSet. Returns
|
-- | Find the first hidden empty workspace in a StackSet. Returns
|
||||||
-- Nothing if all workspaces are in use. Function searches currently
|
-- Nothing if all workspaces are in use. Function searches currently
|
||||||
|
Reference in New Issue
Block a user