Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I often have several applications open across several workspaces in XMonad. I'd like to be able to switch between them without hunting; specifically, I'd like to be able to type something that identifies the application window (the window title?) and jump to it. Any creative ideas about how to do that?

share|improve this question

1 Answer 1

You're lucky, what you want already exists: WindowBringer

The procedure is very simple if you have have already a xmonad.hs configuration file (as described in linked page):

  • Add the correct import at the beginning:

    import XMonad.Actions.WindowBringer
    
  • Map keys to functions (to insert near other key mapping):

    , ((mod1Mask, xK_g     ), gotoMenu)
    , ((mod1Mask, xK_b     ), bringMenu)
    

Then when pressing ALT+G that will open dmenu (like for launching applications) with running application windows name, and then you can enter the beginning of the name and press enter to jump to it.

The behaviour of ALT+B is the same except that it doesn't focus the windows but instead move it to current workspace.

share|improve this answer
    
absolutely brilliant, thanks! –  nye17 Sep 15 '13 at 6:00

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.