mirror of
https://github.com/xmonad/xmonad-contrib.git
synced 2025-07-31 12:11:52 -07:00
Fix type signatures.
Think this fixes the rest of the errors caused by the Layout change.
This commit is contained in:
@@ -47,7 +47,7 @@ import XMonadContrib.Dmenu ( dmenu, runProcessWithInput )
|
||||
data Chdir = Chdir String deriving ( Typeable )
|
||||
instance Message Chdir
|
||||
|
||||
workspaceDir :: String -> Layout -> Layout
|
||||
workspaceDir :: String -> Layout a -> Layout a
|
||||
workspaceDir wd l = l { doLayout = \r x -> scd wd >> doLayout l r x
|
||||
, modifyLayout = ml }
|
||||
where ml m | Just (Chdir wd') <- fromMessage m = return $ Just (workspaceDir wd' l)
|
||||
|
Reference in New Issue
Block a user