Fix error when running hyprctl dispatch exec with an arg that contains

a `/`
This commit is contained in:
bazuin-32 2022-07-14 11:23:18 -06:00
parent 0488f17976
commit 0085319c18

View file

@ -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);
}