Add note on passing arguments to exec. (#50)
This commit is contained in:
parent
4357f11afc
commit
785202fe30
|
@ -29,11 +29,17 @@ issue a `dispatch` to call a keybind dispatcher with an arg.
|
|||
|
||||
An arg has to be present, for dispatchers without parameters it can be anything.
|
||||
|
||||
To pass an argument starting with `-` or `--`, such as command line options to
|
||||
`exec` programs, pass `--` as an option. This will disable any subsequent
|
||||
parsing of options by _hyprctl_.
|
||||
|
||||
Examples:
|
||||
|
||||
```sh
|
||||
hyprctl dispatch exec kitty
|
||||
|
||||
hyprctl dispatch -- exec kitty --single-instance
|
||||
|
||||
hyprctl dispatch pseudo x
|
||||
```
|
||||
|
||||
|
|
Loading…
Reference in New Issue