aboutsummaryrefslogtreecommitdiffhomepage
path: root/hyprctl
diff options
context:
space:
mode:
authorbazuin-32 <[email protected]>2022-07-14 11:23:18 -0600
committerbazuin-32 <[email protected]>2022-07-14 11:23:18 -0600
commit0085319c18ce7a62139cda318c5a5ccc0e4beed6 (patch)
tree1c00641384729dd0e8ed603c8d68f68efbf08661 /hyprctl
parent0488f179768d01767d47485835fe4a6c21581ca3 (diff)
downloadHyprland-0085319c18ce7a62139cda318c5a5ccc0e4beed6.tar.gz
Hyprland-0085319c18ce7a62139cda318c5a5ccc0e4beed6.zip
Fix error when running `hyprctl dispatch exec` with an arg that contains
a `/`
Diffstat (limited to 'hyprctl')
-rw-r--r--hyprctl/main.cpp2
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);
}