update hyprctl help

This commit is contained in:
vaxerski 2022-07-12 23:21:00 +02:00
parent bca93f4d3c
commit 4bea3467e0

View file

@ -15,8 +15,9 @@
#include <fstream> #include <fstream>
#include <string> #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 monitors
workspaces workspaces
clients clients
@ -29,7 +30,11 @@ const std::string USAGE = R"#(usage: hyprctl [command] [(opt)args]
kill kill
splash splash
hyprpaper hyprpaper
reload)#"; reload
flags:
-j -> output in JSON
)#";
void request(std::string arg) { void request(std::string arg) {
const auto SERVERSOCKET = socket(AF_UNIX, SOCK_STREAM, 0); const auto SERVERSOCKET = socket(AF_UNIX, SOCK_STREAM, 0);