mirror of
https://github.com/xmonad/xmonad-contrib.git
synced 2025-08-05 06:31:53 -07:00
Put dmenu in X too
This commit is contained in:
4
Dmenu.hs
4
Dmenu.hs
@@ -27,6 +27,6 @@ dmenuXinerama opts = do
|
|||||||
let curscreen = fromIntegral $ fromMaybe 0 (M.lookup (W.current ws) (W.ws2screen ws)) :: Int
|
let curscreen = fromIntegral $ fromMaybe 0 (M.lookup (W.current ws) (W.ws2screen ws)) :: Int
|
||||||
io $ runProcessWithInput "dmenu" ["-xs", show (curscreen+1)] (unlines opts)
|
io $ runProcessWithInput "dmenu" ["-xs", show (curscreen+1)] (unlines opts)
|
||||||
|
|
||||||
dmenu :: [String] -> IO String
|
dmenu :: [String] -> X String
|
||||||
dmenu opts = runProcessWithInput "dmenu" [] (unlines opts)
|
dmenu opts = io $ runProcessWithInput "dmenu" [] (unlines opts)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user