diff options
-rw-r--r-- | Dmenu.hs | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -27,6 +27,6 @@ dmenuXinerama opts = do let curscreen = fromIntegral $ fromMaybe 0 (M.lookup (W.current ws) (W.ws2screen ws)) :: Int io $ runProcessWithInput "dmenu" ["-xs", show (curscreen+1)] (unlines opts) -dmenu :: [String] -> IO String -dmenu opts = runProcessWithInput "dmenu" [] (unlines opts) +dmenu :: [String] -> X String +dmenu opts = io $ runProcessWithInput "dmenu" [] (unlines opts) |