diff options
author | Spencer Janssen <sjanssen@cse.unl.edu> | 2007-05-03 07:37:27 +0200 |
---|---|---|
committer | Spencer Janssen <sjanssen@cse.unl.edu> | 2007-05-03 07:37:27 +0200 |
commit | 72e2e1668bb28a601ceaccf84660c4f23faa8452 (patch) | |
tree | 3bd9ea544e5677464783fd96658ad015a2097aad | |
parent | 20c6e84f230b39d108743cf7d506355dc9a08f93 (diff) | |
download | XMonadContrib-72e2e1668bb28a601ceaccf84660c4f23faa8452.tar.gz XMonadContrib-72e2e1668bb28a601ceaccf84660c4f23faa8452.tar.xz XMonadContrib-72e2e1668bb28a601ceaccf84660c4f23faa8452.zip |
Put dmenu in X too
darcs-hash:20070503053727-a5988-b8529a73c0dc6ae32f9683c1b34784223d2c063c.gz
-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) |