At Sun, 26 Apr 2009 10:04:14 +0200
Julien Danjou wrote:

> At 1240729555 time_t, Сергей Миронов wrote:
> > Hi. i'd like menu to accept keyboard input. Say, i want to press 'j'
> > to make one step down and 'k' to make step up in menu, and so on.
> > Is it possible? Thank you.
> 
> Yes you can define your own key in the menu.
> 
> awful.menu.new({ keys = { up = 'l', down = 'j' } })
> 
> Cheers,

Also, you need to pass true to the toggle function to enable these keybindings.

-- 
GCS/IT/M d- s+:- a--- C++ UL+++ US UB++ P+++ L+++ E--- W+ N+ o--
K- w--- O M-- V PS+ PE- Y+ PGP+++ t+ 5 X+ R tv+ b++ DI+++ D+++ G+
e- h! r y+

    Gregor Best

Attachment: signature.asc
Description: PGP signature

Reply via email to