mirror of
https://github.com/xmonad/xmonad-contrib.git
synced 2025-08-05 22:51:52 -07:00
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:
@@ -27,6 +27,7 @@ module XMonad.Layout.WorkspaceDir (
|
|||||||
workspaceDir,
|
workspaceDir,
|
||||||
changeDir,
|
changeDir,
|
||||||
WorkspaceDir,
|
WorkspaceDir,
|
||||||
|
Chdir(Chdir),
|
||||||
) where
|
) where
|
||||||
|
|
||||||
import System.Directory ( setCurrentDirectory, getCurrentDirectory )
|
import System.Directory ( setCurrentDirectory, getCurrentDirectory )
|
||||||
|
Reference in New Issue
Block a user