fix up hyprctl dispatch

This commit is contained in:
vaxerski 2022-08-22 19:16:35 +02:00
parent 359df96d53
commit fb0e81c18e

View file

@ -152,7 +152,10 @@ void dispatchRequest(int argc, char** argv) {
return; return;
} }
std::string rq = "/dispatch " + std::string(argv[2]) + " " + std::string(argv[3]); std::string rq = "/dispatch";
for(int i = 2; i < argc; i++)
rq += " " + std::string(argv[i]);
request(rq); request(rq);
} }