mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-08-08 16:11:57 -07:00
update hyprctl help
This commit is contained in:
@@ -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);
|
||||||
|
Reference in New Issue
Block a user