diff options
author | vaxerski <[email protected]> | 2022-04-22 18:14:25 +0200 |
---|---|---|
committer | vaxerski <[email protected]> | 2022-04-22 18:14:25 +0200 |
commit | e3b19e01319bdda7f3f5799f53e28dade0bd1265 (patch) | |
tree | eece4dd152756c5ce2d3b62662f9133640c371e8 /hyprctl | |
parent | 94811485c9e50eb310d8abf19ab60ea01fc3860d (diff) | |
download | Hyprland-e3b19e01319bdda7f3f5799f53e28dade0bd1265.tar.gz Hyprland-e3b19e01319bdda7f3f5799f53e28dade0bd1265.zip |
Added hyprctl version
Diffstat (limited to 'hyprctl')
-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 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 { |