Fix incorrect documentation for WorkspaceHistory

This commit is contained in:
Tom Smeets 2016-09-14 20:02:07 +02:00
parent 305c8eff0d
commit 3b4a3d2bd2

View File

@ -111,11 +111,11 @@ import Graphics.X11.Xrender
-- --
-- Then add it to your 'XMonad.Core.workspaces' using the 'toWorkspaces' function. -- Then add it to your 'XMonad.Core.workspaces' using the 'toWorkspaces' function.
-- --
-- Optionally, if you add 'workspaceHistory' to your 'logHook' you can use the \'o\' and \'i\' keys to select from previously-visited workspaces -- Optionally, if you add 'workspaceHistoryHook' to your 'logHook' you can use the \'o\' and \'i\' keys to select from previously-visited workspaces
-- --
-- > xmonad $ defaultConfig { ... -- > xmonad $ defaultConfig { ...
-- > , workspaces = toWorkspaces myWorkspaces -- > , workspaces = toWorkspaces myWorkspaces
-- > , logHook = workspaceHistory -- > , logHook = workspaceHistoryHook
-- > } -- > }
-- --
-- After that you still need to bind buttons to 'treeselectWorkspace' to start selecting a workspaces and moving windows -- After that you still need to bind buttons to 'treeselectWorkspace' to start selecting a workspaces and moving windows