summaryrefslogtreecommitdiffstats
path: root/Operations.hs
diff options
context:
space:
mode:
authorJason Creighton <jcreigh@gmail.com>2007-04-11 04:47:16 +0200
committerJason Creighton <jcreigh@gmail.com>2007-04-11 04:47:16 +0200
commitb3e119be0626366054637370cb8ee1e3152fd6ac (patch)
tree1b57a79bd920af96548465d66cb4ceb1af66c769 /Operations.hs
parent6e231ff7825e1d8120a6f3896418b3840024a040 (diff)
downloadmetatile-b3e119be0626366054637370cb8ee1e3152fd6ac.tar
metatile-b3e119be0626366054637370cb8ee1e3152fd6ac.zip
removed xinerama-enabled dmenu action
I don't think we're going to see any Xinerama support upstream, at least not anytime soon. It doesn't make sense to ship something with xmonad that isn't going to work out of the box. So for now Xinerama users should just use this patch: http://www.jcreigh.com/xmonad/xinerama-dmenu.html darcs-hash:20070411024716-b9aa7-e41d85ad5030a6a4eb6120257e8a5f2d1adaf00f
Diffstat (limited to 'Operations.hs')
-rw-r--r--Operations.hs10
1 files changed, 0 insertions, 10 deletions
diff --git a/Operations.hs b/Operations.hs
index 01585e4..f2576b1 100644
--- a/Operations.hs
+++ b/Operations.hs
@@ -253,13 +253,3 @@ restart = do
prog <- getProgName
args <- getArgs
executeFile prog True args Nothing
-
--- | Starts dmenu on the current screen. (Requires patches to dmenu for the -x
--- and -w options.)
-dmenu :: X ()
-dmenu = do
- XState { xineScreens = xinesc, workspace = ws } <- get
- let curscreen = fromMaybe 0 (M.lookup (W.current ws) (W.ws2screen ws))
- sc = xinesc !! curscreen
- spawn $ concat [ "exe=`dmenu_path | dmenu -x ", show (rect_x sc)
- , " -w " , show (rect_width sc) , "` && exec $exe" ]