hyprctl: allow spaces in cursor themes
This commit is contained in:
parent
b15803510c
commit
510db64860
2 changed files with 19 additions and 33 deletions
|
|
@ -227,7 +227,10 @@ int setcursorRequest(int argc, char** argv) {
|
|||
return 1;
|
||||
}
|
||||
|
||||
std::string rq = "setcursor " + std::string(argv[2]) + " " + std::string(argv[3]);
|
||||
std::string rq = "setcursor ";
|
||||
for (size_t i = 2; i < argc; ++i)
|
||||
rq += std::string(argv[i]) + " ";
|
||||
rq.pop_back();
|
||||
|
||||
request(rq);
|
||||
return 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue