mirror of
https://github.com/xmonad/xmonad-contrib.git
synced 2025-08-20 14:43:46 -07:00
Replace liftM
and fmap
with <$>
This commit is contained in:
@@ -43,7 +43,7 @@ import Control.Monad (liftM)
|
||||
dmenuXinerama :: [String] -> X String
|
||||
dmenuXinerama opts = do
|
||||
curscreen <-
|
||||
(fromIntegral . W.screen . W.current) `fmap` gets windowset :: X Int
|
||||
(fromIntegral . W.screen . W.current) <$> gets windowset :: X Int
|
||||
_ <-
|
||||
runProcessWithInput "dmenu" ["-xs", show (curscreen+1)] (unlines opts)
|
||||
menuArgs "dmenu" ["-xs", show (curscreen+1)] opts
|
||||
|
Reference in New Issue
Block a user