wofi icon indicating copy to clipboard operation
wofi copied to clipboard

Custom keybinding?

Open iaminkoqnito opened this issue 9 months ago • 2 comments

Hello,

I’m trying to set custom keybindings in Wofi, but it doesn’t seem to work. For example, I’ve tried:

key_down=Ctrl-J key_down=Ctrl+J

The only bindings that work are key_down=j or key_down=Control_L. key_down=Control_L-j does not work.

When I try modifier + key combinations, the only effect I see is that the input field receives focus.

Are custom keybindings for modifier + key combinations supported? If so, what is the correct syntax to use them?

Thank you.

iaminkoqnito avatar Feb 10 '26 22:02 iaminkoqnito

Hello,

I’m trying to set custom keybindings in Wofi, but it doesn’t seem to work. For example, I’ve tried:

key_down=Ctrl-J key_down=Ctrl+J

The only bindings that work are key_down=j or key_down=Control_L. key_down=Control_L-j does not work.

When I try modifier + key combinations, the only effect I see is that the input field receives focus.

Are custom keybindings for modifier + key combinations supported? If so, what is the correct syntax to use them?

Thank you.

have you figured it out?

ligmaSec avatar Apr 03 '26 07:04 ligmaSec

You can use man wofi.5 to search the config options.

Here is my key bindings:

key_up=Up,Ctrl-k
key_down=Down,Ctrl-j
key_left=Left,Ctrl-h
key_right=Right,Ctrl-l
key_forward=Tab,Ctrl-n
key_backward=Shift-ISO_Left_Tab,Ctrl-p
key_submit=Return,KP_Enter,Ctrl-m
key_pgup=Page_Up,Ctrl-u
key_pgdn=Page_Down,Ctrl-d
key_expand=Ctrl-l
key_copy=Ctrl-c,Ctrl-y

Hunter9812 avatar Jun 12 '26 01:06 Hunter9812