Skip to content

Commit

Permalink
Merge pull request #28 from saro/master
Browse files Browse the repository at this point in the history
Add CTRL+P/N keybindings to match dmenu behaviour
  • Loading branch information
nyyManni committed Oct 1, 2022
2 parents a7ccd7e + 92e49ee commit b600472
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions dmenu.c
Original file line number Diff line number Diff line change
Expand Up @@ -120,9 +120,11 @@ void keypress(struct dmenu_panel *panel, enum wl_keyboard_key_state state,
sym = XKB_KEY_End;
break;
case XKB_KEY_f:
case XKB_KEY_n:
sym = XKB_KEY_Right;
break;
case XKB_KEY_b:
case XKB_KEY_p:
sym = XKB_KEY_Left;
break;
case XKB_KEY_h:
Expand Down

0 comments on commit b600472

Please sign in to comment.