diff options
author | vaxerski <[email protected]> | 2022-07-12 23:21:00 +0200 |
---|---|---|
committer | vaxerski <[email protected]> | 2022-07-12 23:21:00 +0200 |
commit | 4bea3467e03eae7c3db251b84605345c576c4313 (patch) | |
tree | 2e59d673ada938c463ff67bc1a47bebb11165902 /hyprctl | |
parent | bca93f4d3cd29c88ff32af96dcc1338196feabdb (diff) | |
download | Hyprland-4bea3467e03eae7c3db251b84605345c576c4313.tar.gz Hyprland-4bea3467e03eae7c3db251b84605345c576c4313.zip |
update hyprctl help
Diffstat (limited to 'hyprctl')
-rw-r--r-- | hyprctl/main.cpp | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/hyprctl/main.cpp b/hyprctl/main.cpp index 4c7e3a04..b2c00ce7 100644 --- a/hyprctl/main.cpp +++ b/hyprctl/main.cpp @@ -15,8 +15,9 @@ #include <fstream> #include <string> -const std::string USAGE = R"#(usage: hyprctl [command] [(opt)args] +const std::string USAGE = R"#(usage: hyprctl [(opt)flag] [command] [(opt)args] +commands: monitors workspaces clients @@ -29,7 +30,11 @@ const std::string USAGE = R"#(usage: hyprctl [command] [(opt)args] kill splash hyprpaper - reload)#"; + reload + +flags: + -j -> output in JSON +)#"; void request(std::string arg) { const auto SERVERSOCKET = socket(AF_UNIX, SOCK_STREAM, 0); |