diff options
author | vaxerski <[email protected]> | 2022-08-22 23:25:11 +0200 |
---|---|---|
committer | vaxerski <[email protected]> | 2022-08-22 23:25:11 +0200 |
commit | 9bfa3ebc50f503f3eaa43dcad44a976e8ee14c73 (patch) | |
tree | ca0f6e844e3fa45c3029e90b50b894f3da5443e7 /hyprctl | |
parent | 8feb6f7da154837494e914e53ced62b63138c0b2 (diff) | |
download | Hyprland-9bfa3ebc50f503f3eaa43dcad44a976e8ee14c73.tar.gz Hyprland-9bfa3ebc50f503f3eaa43dcad44a976e8ee14c73.zip |
fix up keyword to accept spaced args
Diffstat (limited to 'hyprctl')
-rw-r--r-- | hyprctl/main.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/hyprctl/main.cpp b/hyprctl/main.cpp index 345c2c74..3fb99aef 100644 --- a/hyprctl/main.cpp +++ b/hyprctl/main.cpp @@ -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); } |