mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-22 19:05:59 +01:00
fix up keyword to accept spaced args
This commit is contained in:
parent
8feb6f7da1
commit
9bfa3ebc50
1 changed files with 4 additions and 1 deletions
|
@ -166,7 +166,10 @@ void keywordRequest(int argc, char** argv) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
std::string rq = "keyword " + std::string(argv[2]) + " " + std::string(argv[3]);
|
std::string rq = "/keyword";
|
||||||
|
|
||||||
|
for(int i = 2; i < argc; i++)
|
||||||
|
rq += " " + std::string(argv[i]);
|
||||||
|
|
||||||
request(rq);
|
request(rq);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue