X.L.WorkspaceDir: Export Chdir

This makes it possible to change the workspace directory by sending a
message, which enables automation/scripting not possible with
`changeDir` which displays a prompt.

Example of such usage:
6ea6c52aac/.xmonad/xmonad.hs (L183-L189)
This commit is contained in:
Tomas Janousek
2017-08-23 13:29:44 +02:00
parent 73eb28f669
commit d5b64c1e5d

View File

@@ -27,6 +27,7 @@ module XMonad.Layout.WorkspaceDir (
workspaceDir,
changeDir,
WorkspaceDir,
Chdir(Chdir),
) where
import System.Directory ( setCurrentDirectory, getCurrentDirectory )