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 <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);