services.xcape.enable
Whether to enable xcape.
Type: boolean
Default:
false
Example:
true
Declared by:
services.xcape.package
The xcape package to use.
Type: package
Default:
pkgs.xcape
Declared by:
services.xcape.mapExpression
The value has the grammar Key[|OtherKey].
The list of key names is found in the header file
X11/keysymdef.h (remove the
XK_ prefix). Note that due to limitations
of X11 shifted keys must be specified as a shift key
followed by the key to be pressed rather than the actual
name of the character. For example to generate “{” the
expression Shift_L|bracketleft could be
used (assuming that you have a key with “{” above “[”).
You can also specify keys in decimal (prefix #), octal (#0), or hexadecimal (#0x). They will be interpreted as keycodes unless no corresponding key name is found.
Type: attribute set of string
Default:
{ }
Example:
{
Control_L = "Control_L|O";
Shift_L = "Escape";
}
Declared by:
services.xcape.timeout
If you hold a key longer than this timeout, xcape will not generate a key event. Default is 500 ms.
Type: null or signed integer
Default:
null
Example:
500
Declared by: