From e3b19e01319bdda7f3f5799f53e28dade0bd1265 Mon Sep 17 00:00:00 2001 From: vaxerski <43317083+vaxerski@users.noreply.github.com> Date: Fri, 22 Apr 2022 18:14:25 +0200 Subject: Added hyprctl version --- hyprctl/main.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'hyprctl/main.cpp') diff --git a/hyprctl/main.cpp b/hyprctl/main.cpp index 7fe745da..6d0b2fc9 100644 --- a/hyprctl/main.cpp +++ b/hyprctl/main.cpp @@ -24,6 +24,7 @@ usage: hyprctl [command] [(opt)args] layers dispatch keyword + version )#"; void request(std::string arg) { @@ -134,6 +135,7 @@ int main(int argc, char** argv) { else if (!strcmp(argv[1], "workspaces")) request("workspaces"); 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], "dispatch")) dispatchRequest(argc, argv); else if (!strcmp(argv[1], "keyword")) keywordRequest(argc, argv); else { -- cgit v1.2.3