# Creating Custom hotkey for 'show_wire'

I'm trying to make hotkey for this option:

Like that:

But this isn't working.What am I doing wrong here?

Since what you want to influence is a Checkbox that would be wm.context_toggle
In the Context Attributes Field that will appear when you set this, just paste the Data Path that you copied from the Checkbox, in our case object.show_wire