keyd icon indicating copy to clipboard operation
keyd copied to clipboard

Impossible to map [ to ]

Open OldBlood03 opened this issue 6 months ago • 2 comments

Hey. I desperately want to remap the key returned by keyd monitor as [ to the key returned by keyd monitor as ]

/etc/keyd/default.conf ` [ids]

[main]

[ = ] ] =
` Understandably, since [] is syntax for a label, the parser must be reading what I want to do as just a [=] (a label of =)

OldBlood03 avatar Jun 13 '25 18:06 OldBlood03

use the command keyd list-keys to get a list of the names of the keys that keyd recognizes in the config:

Any of the following are valid syntax

leftbrace = rightbrace
[ = rightbrace
leftbrace = rightbrace

daniel-alegria3 avatar Jun 20 '25 01:06 daniel-alegria3

Or use [ = macro(]), but the other solution seems cleaner

oiiiiiiii avatar Jul 21 '25 10:07 oiiiiiiii