mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-22 19:26:00 +01:00
update hyprctl help
This commit is contained in:
parent
bca93f4d3c
commit
4bea3467e0
1 changed files with 7 additions and 2 deletions
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue