xmonad-contrib-0.18.0: Community-maintained extensions for xmonad
Copyright(C) 2008 Justin Bogner
LicenseBSD3
Maintainermail@justinbogner.com
Stabilityunstable
Portabilityunportable
Safe HaskellNone
LanguageHaskell2010

XMonad.Prompt.RunOrRaise

Contents

Description

A prompt for XMonad which will run a program, open a file, or raise an already running program, depending on context.

Synopsis

Usage

  1. In your xmonad.hs:
import XMonad.Prompt
import XMonad.Prompt.RunOrRaise
  1. In your keybindings add something like:
  , ((modm .|. controlMask, xK_x), runOrRaisePrompt def)

For detailed instruction on editing the key binding see the tutorial.