diced / dlauncher

An application launcher for Linux that is based on Ulauncher

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add more than one key to a keybind in dlauncher.toml

zerowhybr opened this issue · comments

Currently, the app selected only gets launched by my "main" enter key (the big one on top of Right Shift) but not the right one on the numpad
In my system, looking through xev, I get that my "main" enter key is keycode 36 (keysym 0xff0d, Return) and the numpad one is keycode 104 (keysym 0xff8d, KP_Enter)
I am using the latest release of dlauncher-git through the AUR (aur/dlauncher-git 0.1.2-1 [+1 ~0.43])

If any more information is necessary feel free to ask.

Currently theres no way of making both of them work at the same time, but you can change which one you would like to use by adding this section in the dlauncher.toml file located in ~/.config/dlauncher

[keybinds]
open = "KP_Enter"

More info on custom keybinds are here https://github.com/diced/dlauncher/blob/trunk/src/launcher/util/config.rs#L131

Ok, I will change the title so it represents a new feature request more broadly.
Thank you for your reply!