mirror of
https://github.com/xmonad/xmonad-contrib.git
synced 2025-07-26 09:41: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,
|
||||
changeDir,
|
||||
WorkspaceDir,
|
||||
Chdir(Chdir),
|
||||
) where
|
||||
|
||||
import System.Directory ( setCurrentDirectory, getCurrentDirectory )
|
||||
|
Reference in New Issue
Block a user