mirror of
https://github.com/Cloudef/bemenu
synced 2024-11-23 17:32:11 +01:00
Swap j-k
This commit is contained in:
parent
c04a2c4192
commit
bd6051073d
@ -131,13 +131,13 @@ poll_key(const struct bm_menu *menu, unsigned int *unicode)
|
||||
return (mods & MOD_CTRL ? BM_KEY_LINE_DELETE_LEFT : (mods & MOD_ALT ? BM_KEY_PAGE_UP : BM_KEY_UNICODE));
|
||||
|
||||
case XKB_KEY_k:
|
||||
return (mods & MOD_CTRL ? BM_KEY_LINE_DELETE_RIGHT : (mods & MOD_ALT ? BM_KEY_DOWN : BM_KEY_UNICODE));
|
||||
return (mods & MOD_CTRL ? BM_KEY_LINE_DELETE_RIGHT : (mods & MOD_ALT ? BM_KEY_UP : BM_KEY_UNICODE));
|
||||
|
||||
case XKB_KEY_w:
|
||||
return (mods & MOD_CTRL ? BM_KEY_WORD_DELETE : BM_KEY_UNICODE);
|
||||
|
||||
case XKB_KEY_j:
|
||||
return (mods & MOD_ALT ? BM_KEY_UP : BM_KEY_UNICODE);
|
||||
return (mods & MOD_ALT ? BM_KEY_DOWN : BM_KEY_UNICODE);
|
||||
|
||||
case XKB_KEY_d:
|
||||
return (mods & MOD_ALT ? BM_KEY_PAGE_DOWN : BM_KEY_UNICODE);
|
||||
|
@ -120,13 +120,13 @@ poll_key(const struct bm_menu *menu, unsigned int *unicode)
|
||||
return (mods & MOD_CTRL ? BM_KEY_LINE_DELETE_LEFT : (mods & MOD_ALT ? BM_KEY_PAGE_UP : BM_KEY_UNICODE));
|
||||
|
||||
case XK_k:
|
||||
return (mods & MOD_CTRL ? BM_KEY_LINE_DELETE_RIGHT : (mods & MOD_ALT ? BM_KEY_DOWN : BM_KEY_UNICODE));
|
||||
return (mods & MOD_CTRL ? BM_KEY_LINE_DELETE_RIGHT : (mods & MOD_ALT ? BM_KEY_UP : BM_KEY_UNICODE));
|
||||
|
||||
case XK_w:
|
||||
return (mods & MOD_CTRL ? BM_KEY_WORD_DELETE : BM_KEY_UNICODE);
|
||||
|
||||
case XK_j:
|
||||
return (mods & MOD_ALT ? BM_KEY_UP : BM_KEY_UNICODE);
|
||||
return (mods & MOD_ALT ? BM_KEY_DOWN : BM_KEY_UNICODE);
|
||||
|
||||
case XK_d:
|
||||
return (mods & MOD_ALT ? BM_KEY_PAGE_DOWN : BM_KEY_UNICODE);
|
||||
|
Loading…
Reference in New Issue
Block a user