moverest / wl-kbptr

Control the mouse pointer with the keyboard on Wayland.
GNU General Public License v3.0
43 stars 4 forks source link

What is the format for the `home_row_keys` config option? #6

Open Crandel opened 1 month ago

Crandel commented 1 month ago

There are no home_row_keys format in the example. I tried this one

[general]
home_row_keys=hjkltsra

But got this error

err: Could not parse home row keys. Not enough characters.
moverest commented 1 month ago

This option is a bit bare-bone at the moment.

By default, if this option is not set or empty, it will determine the keys that are in the home row position when the keyboard layout is loaded, e.g. this would be qsdfjklm (for the selection) and ghb (for the mouse buttons) on a US layout.

This option enables to override these and consequently has the same constraints, that is, it requires 11 characters, the first 8 are for the selection and the last three are for the left, right, and center mouse button, e.g. qsdfjklmghb.