mirror of
https://github.com/xmonad/xmonad-contrib.git
synced 2025-05-19 03:20:21 -07:00
WindowGo.hs: fix syntax in example
This commit is contained in:
parent
37748e0b26
commit
8f71c70d37
@ -72,7 +72,7 @@ raise = raiseMaybe $ return ()
|
||||
there isn't you run a terminal with a command to run mutt! Here's an example,
|
||||
borrowing 'runInTerm' from XMonad.Utils.Run:
|
||||
|
||||
> , ((modm, xK_m ), raiseMaybe (runInTerm -title "mutt" "mutt") (title =? "mutt"))
|
||||
> , ((modm, xK_m ), raiseMaybe (runInTerm "-title mutt" "mutt") (title =? "mutt"))
|
||||
-}
|
||||
raiseMaybe :: X () -> Query Bool -> X ()
|
||||
raiseMaybe f thatUserQuery = withWindowSet $ \s -> do
|
||||
|
Loading…
x
Reference in New Issue
Block a user