mirror of
https://github.com/hyprwm/hyprland-wiki.git
synced 2024-12-23 01:59:49 +01:00
Add note on passing arguments to exec. (#50)
This commit is contained in:
parent
4357f11afc
commit
785202fe30
1 changed files with 6 additions and 0 deletions
|
@ -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 a new issue