mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-07-31 12:11:56 -07:00
fix up keyword to accept spaced args
This commit is contained in:
@@ -166,7 +166,10 @@ void keywordRequest(int argc, char** argv) {
|
||||
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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user