diff options
| author | bazuin-32 <ameenpiano@gmail.com> | 2022-07-14 11:23:18 -0600 |
|---|---|---|
| committer | bazuin-32 <ameenpiano@gmail.com> | 2022-07-14 11:23:18 -0600 |
| commit | 0085319c18ce7a62139cda318c5a5ccc0e4beed6 (patch) | |
| tree | 1c00641384729dd0e8ed603c8d68f68efbf08661 /hyprctl/main.cpp | |
| parent | 0488f179768d01767d47485835fe4a6c21581ca3 (diff) | |
Fix error when running `hyprctl dispatch exec` with an arg that contains
a `/`
Diffstat (limited to 'hyprctl/main.cpp')
| -rw-r--r-- | hyprctl/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hyprctl/main.cpp b/hyprctl/main.cpp index ce77054f..2e8bbb06 100644 --- a/hyprctl/main.cpp +++ b/hyprctl/main.cpp @@ -159,7 +159,7 @@ void dispatchRequest(int argc, char** argv) { return; } - std::string rq = "dispatch " + std::string(argv[2]) + " " + std::string(argv[3]); + std::string rq = "/dispatch " + std::string(argv[2]) + " " + std::string(argv[3]); request(rq); } |
