diff options
| author | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2022-06-27 13:42:20 +0200 |
|---|---|---|
| committer | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2022-06-27 13:42:20 +0200 |
| commit | 781526dac58619fa313ca9bf86bfd712c01cb68f (patch) | |
| tree | 93139652439c65fc49b66437292dacb4c2efb258 /hyprctl/main.cpp | |
| parent | b9a5fc0d2f76718833b49ec01234496f5002a677 (diff) | |
added hyprctl kill
Diffstat (limited to 'hyprctl/main.cpp')
| -rw-r--r-- | hyprctl/main.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/hyprctl/main.cpp b/hyprctl/main.cpp index f60fb600..fab353c0 100644 --- a/hyprctl/main.cpp +++ b/hyprctl/main.cpp @@ -26,6 +26,7 @@ const std::string USAGE = R"#(usage: hyprctl [command] [(opt)args] dispatch keyword version + kill reload)#"; void request(std::string arg) { @@ -129,6 +130,7 @@ int main(int argc, char** argv) { else if (!strcmp(argv[1], "activewindow")) request("activewindow"); else if (!strcmp(argv[1], "layers")) request("layers"); else if (!strcmp(argv[1], "version")) request("version"); + else if (!strcmp(argv[1], "kill")) request("kill"); else if (!strcmp(argv[1], "devices")) request("devices"); else if (!strcmp(argv[1], "reload")) request("reload"); else if (!strcmp(argv[1], "dispatch")) dispatchRequest(argc, argv); |
