Portability | unportable |
---|---|
Stability | unstable |
Maintainer | Spencer Janssen <spencerjanssen@gmail.com> |
A convenient binding to dmenu.
Requires the process-1.0 package
- dmenu :: [String] -> X String
- dmenuXinerama :: [String] -> X String
- dmenuMap :: Map String a -> X (Maybe a)
- menu :: String -> [String] -> X String
- menuArgs :: String -> [String] -> [String] -> X String
- menuMap :: String -> Map String a -> X (Maybe a)
- menuMapArgs :: String -> [String] -> Map String a -> X (Maybe a)
Usage
You can use this module with the following in your Config.hs file:
import XMonad.Util.Dmenu
dmenuXinerama :: [String] -> X StringSource
Starts dmenu on the current screen. Requires this patch to dmenu: http://www.jcreigh.com/dmenu/dmenu-3.2-xinerama.patch
dmenuMap :: Map String a -> X (Maybe a)Source
Run dmenu to select an entry from a map based on the key.
menuArgs :: String -> [String] -> [String] -> X StringSource
Like menu
but also takes a list of command line arguments.