mirror of
https://github.com/xmonad/xmonad-contrib.git
synced 2025-07-31 12:11:52 -07:00
Rename safeIO to catchIO
This commit is contained in:
@@ -27,7 +27,7 @@ workspaceDir wd l = l { doLayout = \r x -> scd wd >> doLayout l r x
|
||||
|
||||
scd :: String -> X ()
|
||||
scd x = do x' <- io (runProcessWithInput "bash" [] ("echo -n " ++ x) `catch` \_ -> return x)
|
||||
safeIO $ setCurrentDirectory x'
|
||||
catchIO $ setCurrentDirectory x'
|
||||
|
||||
changeDir :: [String] -> X ()
|
||||
changeDir dirs = do thisd <- io getCurrentDirectory
|
||||
|
Reference in New Issue
Block a user