From c6f5a0f9faca0cb952e140566ecf3e144d4e5a59 Mon Sep 17 00:00:00 2001 From: Brent Yorgey Date: Sat, 24 Nov 2007 00:54:27 +0100 Subject: FindEmptyWorkspace: haddock updates darcs-hash:20071123235427-bd4d7-5f2f1f64efe7990900ff71ca57748d2e1371a45c.gz --- XMonad/Actions/FindEmptyWorkspace.hs | 20 +++++++++----------- 1 file changed, 9 insertions(+), 11 deletions(-) (limited to 'XMonad/Actions/FindEmptyWorkspace.hs') diff --git a/XMonad/Actions/FindEmptyWorkspace.hs b/XMonad/Actions/FindEmptyWorkspace.hs index a0fb621..0043cc0 100644 --- a/XMonad/Actions/FindEmptyWorkspace.hs +++ b/XMonad/Actions/FindEmptyWorkspace.hs @@ -8,7 +8,7 @@ -- Stability : unstable -- Portability : unportable -- --- Find an empty workspace in XMonad. +-- Find an empty workspace. -- ----------------------------------------------------------------------------- @@ -28,23 +28,21 @@ import XMonad.StackSet import XMonad.Operations -- $usage --- --- To use, modify your Config.hs to: +-- +-- To use, import this module into your @~\/.xmonad\/xmonad.hs@: -- -- > import XMonad.Actions.FindEmptyWorkspace -- --- and add a keybinding: +-- and add the desired keybindings, for example: -- -- > , ((modMask, xK_m ), viewEmptyWorkspace) -- > , ((modMask .|. shiftMask, xK_m ), tagToEmptyWorkspace) -- --- Now you can jump to an empty workspace with mod-m. Mod-shift-m will --- tag the current window to an empty workspace and view it. - --- %import XMonad.Actions.FindEmptyWorkspace --- %keybind , ((modMask, xK_m ), viewEmptyWorkspace) --- %keybind , ((modMask .|. shiftMask, xK_m ), tagToEmptyWorkspace) - +-- Now you can jump to an empty workspace with @mod-m@. @Mod-shift-m@ +-- will tag the current window to an empty workspace and view it. +-- +-- For detailed instructions on editing your key bindings, see +-- "XMonad.Doc.Extending#Editing_key_bindings". -- | Find the first hidden empty workspace in a StackSet. Returns -- Nothing if all workspaces are in use. Function searches currently -- cgit v1.2.3