# hypr/bind
Add a keybind by sending `keyword bind <spec>` on the command socket (the
reply is discarded).
## Syntax
[hypr/bind $h "SUPER,SPACE,exec,hydra call menu toggle"]
## Parameters
- `$h` — connection from `hypr/connect`
- `$bind` — full bind spec `MODS,KEY,DISPATCHER,ARGS` (string)
## Examples
[hypr/bind $h "SUPER,SPACE,exec,hydra call menu toggle"]
## Returns
`nil`, or `%Err{:message}` for a closed connection or a non-string bind.
## See Also
`hypr/unbind`, `hypr/send`, `hypr/call`