aboutsummaryrefslogtreecommitdiffstats
path: root/Dmenu.hs
diff options
context:
space:
mode:
Diffstat (limited to 'Dmenu.hs')
-rw-r--r--Dmenu.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Dmenu.hs b/Dmenu.hs
index c27fbe2..879d9ed 100644
--- a/Dmenu.hs
+++ b/Dmenu.hs
@@ -24,7 +24,7 @@ runProcessWithInput cmd args input = do
-- http://www.jcreigh.com/dmenu/dmenu-2.8-xinerama.patch
dmenuXinerama :: [String] -> X String
dmenuXinerama opts = do
- ws <- gets workspace
+ ws <- gets windowset
let curscreen = fromIntegral $ fromMaybe 0 (M.lookup (W.current ws) (W.ws2screen ws)) :: Int
io $ runProcessWithInput "dmenu" ["-xs", show (curscreen+1)] (unlines opts)