| Copyright | (c) Roman Cheplyaka 2008 |
|---|---|
| License | BSD3-style (see LICENSE) |
| Maintainer | Roman Cheplyaka <roma@ro-che.info> |
| Stability | unstable |
| Portability | unportable |
| Safe Haskell | None |
| Language | Haskell98 |
XMonad.Actions.PerWorkspaceKeys
Contents
Description
Define key-bindings on per-workspace basis.
Usage
You can use this module with the following in your ~/.xmonad/xmonad.hs:
import XMonad.Actions.PerWorkspaceKeys
,((0, xK_F2), bindOn [("1", spawn "rxvt"), ("2", spawn "xeyes"), ("", spawn "xmessage hello")])For detailed instructions on editing your key bindings, see XMonad.Doc.Extending.
chooseAction :: (String -> X ()) -> X () #
Uses supplied function to decide which action to run depending on current workspace name.