to.sticky_modifier

sticky_modifier changes a key to a sticky modifier key.

{
    "to": [
        {
            "sticky_modifier": {
                "{modifier_name}": "on | off | toggle"
            }
        }
    ]
}
Name Required Description
{modifier_name} Optional - on always activates a sticky modifier.
- off is vice versa.
- toggle toggles a sticky modifier.

toggle is suitable for most cases.

Supported modifiers

  • left_control
  • left_shift
  • left_option
  • left_command
  • right_control
  • right_shift
  • right_option
  • right_command
  • fn

Examples

{
    "to": [
        {
            "sticky_modifier": {
                "right_option": "toggle"
            }
        }
    ]
}