Re: [dwm] dwm/dmenu how to use?

From: Jack J. Woehr <>
Date: Wed, 20 Dec 2006 09:32:24 -0700

Michael Muster wrote:
> 1. How to start dmenu?
You add a line in config.h which ties a script invoking dmenu to a key
Then when you do that key sequence, your script invoking dmenu runs.
> 2. How to create the menu?
I dont' have an installation right here, but I invoke gm4(see above) to
run the following
script when I hit alt-m:








    ifelse(browser_menu_pick,`firefox',syscmd(`firefox &'),
    browser_menu_pick,`mozilla',syscmd(`mozilla &'),
    `Unknown menu option')')')

    `Unknown menu option')')')

    ifelse(edit_menu_pick,`emacs',syscmd(`emacs &'),
    edit_menu_pick,`gvim',syscmd(`gvim &'),
    edit_menu_pick,`jedit',syscmd(`jedit &'),
    `Unknown edit menu selection')')')

    ifelse(`top_menu_rcode', `0',
    ifelse (`top_menu_pick',`editors',`run_menu(`edit'),
    `Unknown top menu selection')')')

Jack J. Woehr
Director of Development
Absolute Performance, Inc.
303-443-7000 ext. 527
Received on Wed Dec 20 2006 - 17:32:08 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 14:33:57 UTC